Search the documentation
50 pages for import.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it. Cut at 50, so a narrower query shows the rest.
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
…-and-prompt-caching). The prune, adapted from the harness: ```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
…uote for you. </example 5> """ ``` You will also want to include any important instructions outlining dos and don'ts for how Claude should interact with the customer. This may draw from brand guardra…
Create the full URL from the GitHub repository
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…
Create an instance of the Claude API client
Claude Developer Platform · in the page
about-claude/use-case-guides/ticket-routing
…ou'll want to follow that method signature instead. ```python Python import re # Create an instance of the Claude API client client = anthropic.Anthropic() # Set the default model DEFAULT_MODEL = "…
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
…Each language tab is an excerpt from one continuous script, with any imports and client setup at the top: <CodeGroup defaultLanguage="CLI"> ```bash cURL # List Anthropic-managed Skills curl --…
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-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
…P" ``` ```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
…t support](https://support.claude.com/en/). These precautions remain important even with the classifier defense layer in place. Inform end users of relevant risks and obtain their consent prior to e…
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 = AnthropicOkHttp…
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` Enable eager inpu…
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` Enable eager inpu…
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` Enable ea…
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` Enable ea…
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` Enable eager inpu…
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` Enable eager inpu…
Compliance API
Claude Developer Platform · in the page
api/compliance
…valid"` Webhook signature validation failed. - `"github_token_import"` A user attempted to import a personal GitHub access token for use with Claude Code. The `result` field indicates the…
Activities
Claude Developer Platform · in the page
api/compliance/activities
…valid"` Webhook signature validation failed. - `"github_token_import"` A user attempted to import a personal GitHub access token for use with Claude Code. The `result` field indicates the…
Query compliance activities
Claude Developer Platform · in the page
api/compliance/activities/list
…valid"` Webhook signature validation failed. - `"github_token_import"` A user attempted to import a personal GitHub access token for use with Claude Code. The `result` field indicates the…
errors
Claude Developer Platform · in the page
api/errors
…uest ID:", response.Header.Get("request-id")) ``` ```java Java import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.co…
Messages
Claude Developer Platform · in the page
api/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` Enable eager inpu…
Batches
Claude Developer Platform · in the page
api/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` Enable ea…
Create a Message Batch
Claude Developer Platform · in the page
api/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` Enable ea…
Count tokens in a Message
Claude Developer Platform · in the page
api/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` Enable eager inpu…