Search the documentation
50 pages for lang.
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.
additional-resources
Claude Developer Platform · in the page
about-claude/additional-resources
…ude/glossary"> Key terms and concepts for working with Claude and language models. </Card> </CardGroup> ## Resources for AI ingestion <CardGroup cols={2}> <Card title="API primer for Claude…
glossary
Claude Developer Platform · in the page
about-claude/glossary
…# Context window The "context window" refers to the amount of text a language model can look back on and reference when generating new text. This is different from the large corpus of data the langua…
optimizing-for-cost-and-intelligence
Claude Developer Platform · in the page
about-claude/models/optimizing-for-cost-and-intelligence
…," arXiv:2607.07946, 2026. The set has 113 original tasks across five languages with program-based verifiers. Pairings are two runs each, run August 7, 2026, with advisor tokens metered per request, a…
pricing
Claude Developer Platform · in the page
about-claude/pricing
…tely 4 characters or 0.75 words in English. The exact count varies by language and content type. ### Are there free tiers or trials? New users receive a small amount of free credits to test the API.…
content-moderation
Claude Developer Platform · in the page
about-claude/use-case-guides/content-moderation
…separate models or extensive translation processes for each supported language. Human moderation requires hiring a workforce fluent in each supported language. Claude’s multilingual capabilities allow…
customer-support-chat
Claude Developer Platform · in the page
about-claude/use-case-guides/customer-support-chat
…You prioritize natural, nuanced conversation: Claude's sophisticated language understanding allows for more natural, context-aware conversations that feel more human-like than chats with other LLMs.…
Create the full URL from the GitHub repository
Claude Developer Platform · in the page
about-claude/use-case-guides/legal-summarization
…n: This guide walks through how to leverage Claude's advanced natural language processing capabilities to efficiently summarize legal documents, extracting key information and expediting legal researc…
Create an instance of the Claude API client
Claude Developer Platform · in the page
about-claude/use-case-guides/ticket-routing
…on: This guide walks through how to harness Claude's advanced natural language understanding capabilities to classify customer support tickets at scale based on customer intent, urgency, prioritizatio…
PDF Processing
Claude Developer Platform · in the page
agents-and-tools/agent-skills/best-practices
…ght suggest reorganizing to make rules more prominent, using stronger language such as "MUST filter" instead of "always filter," or restructuring the workflow section. 5. **Apply and test changes:**…
claude-api-skill
Claude Developer Platform · in the page
agents-and-tools/agent-skills/claude-api-skill
…gent configs, and per-session sandboxes. It covers eight programming languages for both the Messages API and Managed Agents: Python, TypeScript, C#, Go, Java, PHP, Ruby, and cURL. The skill comes bu…
PDF Processing
Claude Developer Platform · in the page
agents-and-tools/agent-skills/overview
…material, SDK documentation, and best practices for eight programming languages. Bundled with Claude Code and also available for installation from the skills repository. ### Custom Skills examples F…
quickstart
Claude Developer Platform · in the page
agents-and-tools/agent-skills/quickstart
…s://platform.claude.com/docs/en/cli-sdks-libraries/overview) for your language, or `curl` and `jq` * Basic familiarity with making API requests ## Agent Skills overview Pre-built Agent Skills extend…
mcp-connector
Claude Developer Platform · in the page
agents-and-tools/mcp-connector
…This eliminates manual conversion code when using an MCP SDK for your language (for example, the [TypeScript MCP SDK](https://github.com/modelcontextprotocol/typescript-sdk)) alongside the Anthropic S…
advisor-tool
Claude Developer Platform · in the page
agents-and-tools/tool-use/advisor-tool
…you already compute. If your system prompt already contains restraint language ("reserve the advisor for genuine uncertainty"), skip the nudge entirely, because the two instructions conflict. The pla…
browser-use-tool
Claude Developer Platform · in the page
agents-and-tools/tool-use/browser-use-tool
…tab_id?` | Search for elements matching a natural-language description such as `"search field"` or `"add to cart button"`, and return up to 20 matches in the same tagged format as…
build-a-tool-using-agent
Claude Developer Platform · in the page
agents-and-tools/tool-use/build-a-tool-using-agent
…") # With the tool result in hand, Claude produces a final natural-language # answer and stop_reason becomes "end_turn". echo "stop_reason: $(echo "$FOLLOWUP" | jq -r '.stop_reason')" echo "$…
computer-use-tool
Claude Developer Platform · in the page
agents-and-tools/tool-use/computer-use-tool
…uter-use-tool#understanding-the-agentic-loop) shows this loop in each language. </Step> </Steps> ### Handle errors Report a failed action to Claude as a `tool_result` with `is_error: true` and a s…
define-tools
Claude Developer Platform · in the page
agents-and-tools/tool-use/define-tools
…a tool to be used. This means that the models will not emit a natural language response or explanation before `tool_use` content blocks, even if explicitly asked to do so. <Note> When using manual…
fine-grained-tool-streaming
Claude Developer Platform · in the page
agents-and-tools/tool-use/fine-grained-tool-streaming
…bash cURL # Accumulating per-block input deltas needs a programming language; the first # example's CLI tab shows the raw fragments with jq. See the SDK tabs. ``` ```bash CLI # Accumulating…
how-tool-use-works
Claude Developer Platform · in the page
agents-and-tools/tool-use/how-tool-use-works
…rn a result. The difference is that the caller on the other side is a language model choosing which function to call based on the conversation. ## Where tools run The primary axis along which tools…
memory-tool
Claude Developer Platform · in the page
agents-and-tools/tool-use/memory-tool
…lways address customers by their first name\n 4\t- Use empathetic language\n..." } ``` **6. Claude uses the memory to help:** ```text wrap "Based on your customer service guidelines, I can help…
Log at info level
Claude Developer Platform · in the page
agents-and-tools/tool-use/tool-runner
…nside the loop body. The exact method depends on the SDK. See the per-language tabs that follow. When you take over for an iteration, the runner does not append the assistant message or tool results…
tool-search-tool
Claude Developer Platform · in the page
agents-and-tools/tool-use/tool-search-tool
…s. * **BM25** (`tool_search_tool_bm25_20251119`): Claude uses natural language queries to search for tools. When you enable the tool search tool: 1. You include a tool search tool (for example, `too…
Beta
Claude Developer Platform · in the page
api/beta
…is and how to use it, the better it will perform. You can use natural language descriptions to reinforce important aspects of the tool input JSON schema. - `eager_input_streaming: optional boolea…
Messages
Claude Developer Platform · in the page
api/beta/messages
…is and how to use it, the better it will perform. You can use natural language descriptions to reinforce important aspects of the tool input JSON schema. - `eager_input_streaming: optional boolea…
Batches
Claude Developer Platform · in the page
api/beta/messages/batches
…is and how to use it, the better it will perform. You can use natural language descriptions to reinforce important aspects of the tool input JSON schema. - `eager_input_streaming: optional bo…
Create a Message Batch
Claude Developer Platform · in the page
api/beta/messages/batches/create
…is and how to use it, the better it will perform. You can use natural language descriptions to reinforce important aspects of the tool input JSON schema. - `eager_input_streaming: optional bo…
Count tokens in a Message
Claude Developer Platform · in the page
api/beta/messages/count_tokens
…is and how to use it, the better it will perform. You can use natural language descriptions to reinforce important aspects of the tool input JSON schema. - `eager_input_streaming: optional boolea…
Create a Message
Claude Developer Platform · in the page
api/beta/messages/create
…is and how to use it, the better it will perform. You can use natural language descriptions to reinforce important aspects of the tool input JSON schema. - `eager_input_streaming: optional boolea…
Completions
Claude Developer Platform · in the page
api/completions
…nical details here](https://towardsdatascience.com/how-to-sample-from-language-models-682bceb97277). Recommended for advanced use cases only. minimum: 0 - `top_p: optional number` **Deprecat…
Create a Text Completion
Claude Developer Platform · in the page
api/completions/create
…nical details here](https://towardsdatascience.com/how-to-sample-from-language-models-682bceb97277). Recommended for advanced use cases only. minimum: 0 - `top_p: optional number` **Deprecat…
errors
Claude Developer Platform · in the page
api/errors
…d of returning raw JSON, and the class names and namespaces differ by language. For example, a 404 surfaces as `anthropic.NotFoundError` in Python, `Anthropic::Errors::NotFoundError` in Ruby, `com.ant…
Messages
Claude Developer Platform · in the page
api/messages
…is and how to use it, the better it will perform. You can use natural language descriptions to reinforce important aspects of the tool input JSON schema. - `eager_input_streaming: optional boolea…
Batches
Claude Developer Platform · in the page
api/messages/batches
…is and how to use it, the better it will perform. You can use natural language descriptions to reinforce important aspects of the tool input JSON schema. - `eager_input_streaming: optional bo…
Create a Message Batch
Claude Developer Platform · in the page
api/messages/batches/create
…is and how to use it, the better it will perform. You can use natural language descriptions to reinforce important aspects of the tool input JSON schema. - `eager_input_streaming: optional bo…
Count tokens in a Message
Claude Developer Platform · in the page
api/messages/count_tokens
…is and how to use it, the better it will perform. You can use natural language descriptions to reinforce important aspects of the tool input JSON schema. - `eager_input_streaming: optional boolea…
Create a Message
Claude Developer Platform · in the page
api/messages/create
…is and how to use it, the better it will perform. You can use natural language descriptions to reinforce important aspects of the tool input JSON schema. - `eager_input_streaming: optional boolea…
overview
Claude Developer Platform · in the page
api/overview
…(https://platform.claude.com/docs/en/cli-sdks-libraries/overview) for language-specific details. <Note> Some list endpoints use a different cursor scheme. The [Message Batches API](https://platform…
claude-on-vertex-ai
Claude Developer Platform · in the page
build-with-claude/claude-on-vertex-ai
…s://platform.claude.com/docs/en/cli-sdks-libraries/overview) for your language of choice. <Tabs> <Tab title="Python"> ```bash pip install -U "anthropic[vertex]" ``` </Tab> <Tab tit…
claude-platform-on-aws
Claude Developer Platform · in the page
build-with-claude/claude-platform-on-aws
…esolves authentication in the following order. Argument names vary by language convention: TypeScript and PHP use camelCase as shown, Python and Ruby use snake\_case, Go uses PascalCase with capitaliz…
compaction
Claude Developer Platform · in the page
build-with-claude/compaction
…p the task once a budget is reached. This example appears in the SDK languages only: its value is the budget-tracking logic around the request. The raw request combines the `trigger` from [Trigger co…
context-windows
Claude Developer Platform · in the page
build-with-claude/context-windows
…e context window works The "context window" refers to all the text a language model can reference when generating a response, including the response itself. This is different from the large corpus of…
mid-conversation-effort-example
Claude Developer Platform · in the page
build-with-claude/mid-conversation-effort-example
…ially here (MAX_CONCURRENT is unused); the SDK examples * in other languages fan them out in parallel. */ function runWorkflow(Client $client, string $model, mixed $rawSubtasks): array {…
mid-conversation-system-messages
Claude Developer Platform · in the page
build-with-claude/mid-conversation-system-messages
…st the user, and that protection still applies to the system role, so language such as "ignore what the user said" is less effective than stating what changed. This pattern is for relaying input from…
multilingual-support
Claude Developer Platform · in the page
build-with-claude/multilingual-support
…tilingual-support description: Claude excels at tasks across multiple languages, maintaining strong cross-lingual performance relative to English. --- ## Overview Claude demonstrates robust multilin…
Request 2 caches its request content (not the response)
Claude Developer Platform · in the page
build-with-claude/prompt-caching
…e keys in your `tool_use` content blocks have stable ordering as some languages (for example, Swift, Go) randomize key order during JSON conversion, breaking caches * Use [cache diagnostics](https://p…
claude-prompting-best-practices
Claude Developer Platform · in the page
build-with-claude/prompt-engineering/claude-prompting-best-practices
…se models may now overtrigger. The fix is to dial back any aggressive language. Where you might have said "CRITICAL: You MUST use this tool when...", you can use more normal prompting like "Use this t…
prompting-claude-fable-5
Claude Developer Platform · in the page
build-with-claude/prompt-engineering/prompting-claude-fable-5
…es, commits, flags, or other identifiers, give each one its own plain-language clause. Open with the outcome: one sentence on what happened or what you found. Then the supporting detail. If you have t…
prompting-claude-opus-4-8
Claude Developer Platform · in the page
build-with-claude/prompt-engineering/prompting-claude-opus-4-8
…underlying bug-finding ability has improved. Some recommended prompt language: ```text wrap Report every issue you find, including ones you are uncertain about or consider low-severity. Do not filte…
prompting-claude-sonnet-5
Claude Developer Platform · in the page
build-with-claude/prompt-engineering/prompting-claude-sonnet-5
…underlying bug-finding ability has improved. Some recommended prompt language: ```text wrap Report every issue you find, including ones you are uncertain about or consider low-severity. Do not filte…