Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

391 pages for import.

Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.

Import your data from Claude for Government Web Claude Documentation · title government/desktop/import Import history from claude.ai Claude Documentation · title third-party/claude-desktop/import glossary Claude Developer Platform · in the page about-claude/glossary …rate the first token of its output after receiving a prompt. It is an important indicator of the model's responsiveness and is particularly relevant for interactive applications, chatbots, and real-ti… choosing-a-model Claude Developer Platform · in the page about-claude/models/choosing-a-model …) specific to your use case. Having a good evaluation set is the most important step in the process. 2. Test with your actual prompts and data. 3. Compare performance across models for: * Accura… Or, for the model with the same capabilities and no access approval requirement: Claude Developer Platform · in the page about-claude/models/migration-guide …hink and act; start at 64k tokens and tune from there. Effort is more important for this model than for any prior Opus. Experiment with it actively when you upgrade. #### Behavior changes Claude Opu… optimizing-for-cost-and-intelligence Claude Developer Platform · in the page about-claude/models/optimizing-for-cost-and-intelligence …</Note> The prune, adapted from the triage agent's code: ```python import re PRUNED = "[pruned at issue boundary]" def prune_task_boundary(messages, tool_name_by_id, threshold=2000): """Call… content-moderation Claude Developer Platform · in the page about-claude/use-case-guides/content-moderation …n generate detailed and coherent justifications. This transparency is important for building trust and ensuring accountability in content moderation practices. </Accordion> <Accordion title="You… customer-support-chat Claude Developer Platform · in the page about-claude/use-case-guides/customer-support-chat …lized insurance quote for you. </example 5> """ ``` Also include any important instructions outlining dos and don'ts for how Claude should interact with the customer. This might draw from brand guard… legal-summarization Claude Developer Platform · in the page about-claude/use-case-guides/legal-summarization …n of key metadata"> Claude can efficiently extract and categorize important metadata from legal documents, such as parties involved, dates, contract terms, or specific clauses. This automated extr… ticket-routing Claude Developer Platform · in the page about-claude/use-case-guides/ticket-routing …se the Claude SDK to run it. </CodeGroupItem> ```python Python import re # Create an instance of the Claude API client client = anthropic.Anthropic() # Set the default model DEFAULT_M… PDF Processing Claude Developer Platform · in the page agents-and-tools/agent-skills/best-practices …n ## Extract PDF text Use pdfplumber for text extraction: ```python import pdfplumber with pdfplumber.open("file.pdf") as pdf: text = pdf.pages[0].extract_text() ``` ```` **Bad example: Too ve… claude-api-skill Claude Developer Platform · in the page agents-and-tools/agent-skills/claude-api-skill …ates in two ways: **Automatic activation** occurs when: * Your code imports an Anthropic SDK (`anthropic` for Python, `@anthropic-ai/sdk` for TypeScript/JavaScript) * You ask Claude to help build, d… PDF Processing Claude Developer Platform · in the page agents-and-tools/agent-skills/overview …## Quick start Use pdfplumber to extract text from PDFs: ```python import pdfplumber with pdfplumber.open("document.pdf") as pdf: text = pdf.pages[0].extract_text() ``` For advanced form fill… quickstart Claude Developer Platform · in the page agents-and-tools/agent-skills/quickstart …kills. The example is an excerpt from one continuous script, with any imports and client setup at the top: <CodeGroup> ```bash cURL # List Anthropic-managed Skills curl --fail-with-body -sS "ht… mcp-connector Claude Developer Platform · in the page agents-and-tools/mcp-connector …log.Fatal(err) } fmt.Println(response) ``` ```java Java import com.anthropic.models.beta.messages.BetaMcpToolset; // ... import com.anthropic.models.beta.messages.BetaRequestMcpServe… Edit docker-compose.yaml: increment the integer in the setup service's Claude Developer Platform · in the page agents-and-tools/mcp-tunnels/deploy-compose …nnel cat > mcp-tunnel/hello_server.py <<'EOF' from mcp.server.fastmcp import FastMCP mcp = FastMCP("hello-server", host="0.0.0.0", port=9000) @mcp.tool() def hello(name: str = "world") -> str:… deploy-helm Claude Developer Platform · in the page agents-and-tools/mcp-tunnels/deploy-helm …hello-mcp-src data: hello_server.py: | from mcp.server.fastmcp import FastMCP mcp = FastMCP("hello-server", host="0.0.0.0", port=9000) @mcp.tool() def hello(name: str = "world")… overview Claude Developer Platform · in the page agents-and-tools/mcp-tunnels/overview …log.Fatal(err) } fmt.Println(response) ``` ```java Java import com.anthropic.models.beta.messages.BetaMcpToolset; // ... import com.anthropic.models.beta.messages.BetaRequestMcpServe… quickstart Claude Developer Platform · in the page agents-and-tools/mcp-tunnels/quickstart …cat > hello_server.py <<'EOF' from mcp.server.fastmcp import FastMCP mcp = FastMCP("hello-server", host="0.0.0.0", port=9000) @mcp.tool() def hello(name: str… advisor-tool Claude Developer Platform · in the page agents-and-tools/tool-use/advisor-tool …log.Fatal(err) } fmt.Println(response) ``` ```java Java import com.anthropic.models.beta.messages.BetaAdvisorTool20260301; import com.anthropic.models.beta.messages.BetaMessage; impo… bash-tool Claude Developer Platform · in the page agents-and-tools/tool-use/bash-tool …log.Fatal(err) } fmt.Println(response) ``` ```java Java import com.anthropic.models.messages.ToolBash20250124; void main() { AnthropicClient client = AnthropicOkHttpClient.fromE… browser-use-sdk Claude Developer Platform · in the page agents-and-tools/tool-use/browser-use-sdk …LI, csharp, go, java, php, ruby"> ```python Python from anthropic import Anthropic from example_browser_provider import ExampleBrowser # made-up provider client = Anthropic() with ExampleB… browser-use-tool Claude Developer Platform · in the page agents-and-tools/tool-use/browser-use-tool …al(err) } fmt.Println(response.RawJSON()) ``` ```java Java import com.anthropic.models.messages.BrowserToolset20260801; // ... void main() { AnthropicClient client = AnthropicOkH… build-a-tool-using-agent Claude Developer Platform · in the page agents-and-tools/tool-use/build-a-tool-using-agent …oupItem> ```python Python # Ring 1: Single tool, single turn. import json import anthropic # Create a client. It reads ANTHROPIC_API_KEY from the environment. client = anthropic.Anthro… code-execution-tool Claude Developer Platform · in the page agents-and-tools/tool-use/code-execution-tool …) print(response.to_json()) ``` ```typescript TypeScript import { createReadStream } from "node:fs"; // ... const client = new Anthropic(); // Upload a file const fileObject = aw… computer-use-tool Claude Developer Platform · in the page agents-and-tools/tool-use/computer-use-tool …ttps://support.claude.com/en/). The precautions listed earlier remain important even with these classifiers in place. Inform end users of relevant risks and obtain their consent prior to enabling com… define-tools Claude Developer Platform · in the page agents-and-tools/tool-use/define-tools …**Provide extremely detailed descriptions.** This is by far the most important factor in tool performance. Your descriptions should explain every detail about the tool, including: * What the tool… handle-tool-calls Claude Developer Platform · in the page agents-and-tools/tool-use/handle-tool-calls …use-tool#tab-management-results) return only that block). <Note> **Important formatting requirements:** * Tool result blocks must immediately follow their corresponding tool use blocks in the me… memory-tool Claude Developer Platform · in the page agents-and-tools/tool-use/memory-tool …log.Fatal(err) } fmt.Println(message) ``` ```java Java import com.anthropic.models.messages.MemoryTool20250818; // ... AnthropicClient client = AnthropicOkHttpClient.fromEnv();… overview Claude Developer Platform · in the page agents-and-tools/tool-use/overview …atal(err) } fmt.Println(response.Content) ``` ```java Java import com.anthropic.models.messages.WebSearchTool20260209; void main() { AnthropicClient client = AnthropicOkHttpClient.… Process results programmatically Claude Developer Platform · in the page agents-and-tools/tool-use/programmatic-tool-calling …al(err) } fmt.Println(response.RawJSON()) ``` ```java Java import com.anthropic.models.messages.CodeExecutionTool20260120; // ... void main() { AnthropicClient client = Anthropic… server-tools Claude Developer Platform · in the page agents-and-tools/tool-use/server-tools …tion) } else { fmt.Println(response) } ``` ```java Java import com.anthropic.models.messages.StopReason; import com.anthropic.models.messages.WebSearchTool20250305; void main() {… text-editor-tool Claude Developer Platform · in the page agents-and-tools/tool-use/text-editor-tool …log.Fatal(err) } fmt.Println(response) ``` ```java Java import com.anthropic.models.messages.ToolTextEditor20250728; // ... void main() { AnthropicClient client = AnthropicOkHt… Log at info level Claude Developer Platform · in the page agents-and-tools/tool-use/tool-runner …define the function with `async def`. </Note> ```python import json from anthropic import Anthropic, beta_tool client = Anthropic() @beta_tool def get_weather(location… tool-search-tool Claude Developer Platform · in the page agents-and-tools/tool-use/tool-search-tool …al(err) } fmt.Println(response.RawJSON()) ``` ```java Java import com.anthropic.models.messages.ToolSearchToolRegex20251119; void main() { AnthropicClient client = AnthropicOkHttpC… web-fetch-tool Claude Developer Platform · in the page agents-and-tools/tool-use/web-fetch-tool …al(err) } fmt.Println(response.RawJSON()) ``` ```java Java import com.anthropic.models.messages.WebFetchTool20260318; void main() { AnthropicClient client = AnthropicOkHttpClient.f… web-search-tool Claude Developer Platform · in the page agents-and-tools/tool-use/web-search-tool …log.Fatal(err) } fmt.Println(response) ``` ```java Java import com.anthropic.models.messages.WebSearchTool20260318; void main() { AnthropicClient client = AnthropicOkHttpClient.… Beta Claude Developer Platform · in the page api/beta …will perform. You can use natural language descriptions to reinforce important aspects of the tool input JSON schema. - `eager_input_streaming: optional boolean or null`… Messages Claude Developer Platform · in the page api/beta/messages …will perform. You can use natural language descriptions to reinforce important aspects of the tool input JSON schema. - `eager_input_streaming: optional boolean or null`… Batches Claude Developer Platform · in the page api/beta/messages/batches …will perform. You can use natural language descriptions to reinforce important aspects of the tool input JSON schema. - `eager_input_streaming: optional boolean or null`… Create a Message Batch Claude Developer Platform · in the page api/beta/messages/batches/create …will perform. You can use natural language descriptions to reinforce important aspects of the tool input JSON schema. - `eager_input_streaming: optional boolean or null`… Retrieve Message Batch results Claude Developer Platform · in the page api/beta/messages/batches/results …will perform. You can use natural language descriptions to reinforce important aspects of the tool input JSON schema. - `eager_input_streaming: optional boolean or null`… Count tokens in a Message Claude Developer Platform · in the page api/beta/messages/count_tokens …will perform. You can use natural language descriptions to reinforce important aspects of the tool input JSON schema. - `eager_input_streaming: optional boolean or null`… Create a Message Claude Developer Platform · in the page api/beta/messages/create …will perform. You can use natural language descriptions to reinforce important aspects of the tool input JSON schema. - `eager_input_streaming: optional boolean or null`… Compliance API Claude Developer Platform · in the page api/compliance …whether or not the partner then retrieved the file; the partner's own import of the file is not part of this record. The file's name and contents are not recorded. - `"claude_artifact_sharing_updat… Activities Claude Developer Platform · in the page api/compliance/activities …whether or not the partner then retrieved the file; the partner's own import of the file is not part of this record. The file's name and contents are not recorded. - `"claude_artifact_sharing_updat… Query compliance activities Claude Developer Platform · in the page api/compliance/activities/list …whether or not the partner then retrieved the file; the partner's own import of the file is not part of this record. The file's name and contents are not recorded. - `"claude_artifact_sharing_updat… Organizations Claude Developer Platform · in the page api/compliance/organizations …- `"claude_science_enabled"` - `"claude_science_local_work_import_enabled"` - `"claude_science_managed_network_allowlist_enabled"` - `"claude_science_memory_enabled"` -… Settings Claude Developer Platform · in the page api/compliance/organizations/settings …- `"claude_science_enabled"` - `"claude_science_local_work_import_enabled"` - `"claude_science_managed_network_allowlist_enabled"` - `"claude_science_memory_enabled"` -… Get effective organization settings Claude Developer Platform · in the page api/compliance/organizations/settings/retrieve …- `"claude_science_enabled"` - `"claude_science_local_work_import_enabled"` - `"claude_science_managed_network_allowlist_enabled"` - `"claude_science_memory_enabled"` -…
Feedback