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

1,293 pages for type.

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

typescript Claude Developer Platform · title cli-sdks-libraries/sdks/typescript Agent SDK reference - TypeScript Claude Code CLI · title agent-sdk/typescript TypeScript SDK V2 session API (removed) Claude Code CLI · title agent-sdk/typescript-v2-preview MCP Registry Supported Package Types Model Context Protocol · title registry/package-types SEP-1034: Support default values for all primitive types in elicitation schemas Model Context Protocol · title seps/1034--support-default-values-for-all-primitive-types-in choosing-a-model Claude Developer Platform · in the page about-claude/models/choosing-a-model …ing) always on. If your integration forces tool use (`tool_choice` of type `any` or `tool`), turns thinking off, or uses the `computer_20251124` computer use tool, see [Breaking changes](https://platf… Or, for the model with the same capabilities and no access approval requirement: Claude Developer Platform · in the page about-claude/models/migration-guide …equest, and no `thinking` configuration is required. Both `thinking: {type: "disabled"}` and manual extended thinking (`thinking: {type: "enabled", budget_tokens: N}`) return a 400 error. * **Prefill:… optimizing-for-cost-and-intelligence Claude Developer Platform · in the page about-claude/models/optimizing-for-cost-and-intelligence …est is rejected in the following cases: * The request sets `thinking.type: "enabled"` (the default adaptive thinking on Claude Fable 5.1 is fine), structured outputs, or a forced tool choice ([its li… pricing Claude Developer Platform · in the page about-claude/pricing …et 4.5, Haiku 4.5, and Opus 4.5: * **Bedrock** offers two endpoint types: global endpoints (dynamic routing for maximum availability) and regional endpoints (guaranteed data routing through specifi… commerce-agents Claude Developer Platform · in the page about-claude/use-case-guides/commerce-agents …ion-policies) on the apply tool on Claude Managed Agents. An approval typed in chat approves nothing. ## Vertical examples Each example includes a customer storefront and a merchant portal over fict… content-moderation Claude Developer Platform · in the page about-claude/use-case-guides/content-moderation …omprehensive content moderation in environments where different media types need to be evaluated together. </Accordion> </AccordionGroup> <Note> All Claude models are trained with built-in safety… customer-support-chat Claude Developer Platform · in the page about-claude/use-case-guides/customer-support-chat …ized coverage for electric vehicles, ensuring that drivers of all car types can benefit from our protection. Acme Insurance offers the following products: - Car insurance - Electric car insurance - T… legal-summarization Claude Developer Platform · in the page about-claude/use-case-guides/legal-summarization …s (furniture, parking, and subletting restrictions)", ] ``` ```typescript TypeScript const detailsToExtract = [ "Parties involved (sublessor, sublessee, and original lessor)", "Proper… ticket-routing Claude Developer Platform · in the page about-claude/use-case-guides/ticket-routing …n might also be influenced by other factors such as urgency, customer type, SLAs, or language. Be sure to consider other routing criteria when building your automated routing system. ### Establish su… PDF Processing Claude Developer Platform · in the page agents-and-tools/agent-skills/best-practices …fic context] ``` Adjust sections as needed for the specific analysis type. ```` ### Examples pattern For Skills where output quality depends on seeing examples, provide input/output pairs just like… claude-api-skill Claude Developer Platform · in the page agents-and-tools/agent-skills/claude-api-skill …mming languages for both the Messages API and Managed Agents: Python, TypeScript, C#, Go, Java, PHP, Ruby, and cURL. The skill comes bundled with [Claude Code](https://code.claude.com/docs/en/overvie… enterprise Claude Developer Platform · in the page agents-and-tools/agent-skills/enterprise …on (ZDR), or HIPAA readiness. For setup steps, exclusions, and result types, see [Get started with skill and plugin scanning](https://support.claude.com/en/articles/15927065-get-started-with-skill-and… PDF Processing Claude Developer Platform · in the page agents-and-tools/agent-skills/overview …ded, rather than consuming context upfront. Skills can contain three types of content, each loaded at a different time: ### Level 1: Metadata (always loaded) The Skill's YAML frontmatter provides d… quickstart Claude Developer Platform · in the page agents-and-tools/agent-skills/quickstart …ls.data: print(f"{skill.id}: {skill.display_name}") ``` ```typescript TypeScript // List Anthropic-managed Skills const skills = await client.skills.list({ source: "anthropic" }); fo… mcp-connector Claude Developer Platform · in the page agents-and-tools/mcp-connector …h cURL curl https://api.anthropic.com/v1/messages \ -H "Content-Type: application/json" \ -H "X-API-Key: $ANTHROPIC_API_KEY" \ -H "anthropic-version: 2023-06-01" \ -H "anthropic-beta… overview Claude Developer Platform · in the page agents-and-tools/mcp-tunnels/overview …h cURL curl https://api.anthropic.com/v1/messages \ -H "Content-Type: application/json" \ -H "X-API-Key: $ANTHROPIC_API_KEY" \ -H "anthropic-version: 2023-06-01" \ -H "anthropic-beta… quickstart Claude Developer Platform · in the page agents-and-tools/mcp-tunnels/quickstart …e="Windows (PowerShell)"> ```powershell New-Item -ItemType Directory -Force -Path mcp-tunnel/config, mcp-tunnel/data | Out-Null Set-Location mcp-tunnel $env:TUNNEL_DOMA… advisor-tool Claude Developer Platform · in the page agents-and-tools/tool-use/advisor-tool …\ -H "anthropic-beta: advisor-tool-2026-03-01" \ -H "content-type: application/json" \ -d '{ "model": "claude-sonnet-5", "max_tokens": 4096, "tools": [ {… bash-tool Claude Developer Platform · in the page agents-and-tools/tool-use/bash-tool …h cURL curl https://api.anthropic.com/v1/messages \ -H "content-type: application/json" \ -H "x-api-key: $ANTHROPIC_API_KEY" \ -H "anthropic-version: 2023-06-01" \ -d '{ "model… browser-use-sdk Claude Developer Platform · in the page agents-and-tools/tool-use/browser-use-sdk …Run the browser use tool or the computer use tool from the Python or TypeScript SDK. The SDK runs the loop and the checks you configure, and you supply the browser or the desktop. --- With the brows… browser-use-tool Claude Developer Platform · in the page agents-and-tools/tool-use/browser-use-tool …oud: ga --- <Note> **Start with the SDK toolsets:** The Python and TypeScript SDKs have a browser toolset class, in beta. Start from [a partner's integration](https://platform.claude.com/docs/en/ag… build-a-tool-using-agent Claude Developer Platform · in the page agents-and-tools/tool-use/build-a-tool-using-agent …and optional recurrence.", "input_schema": { "type": "object", "properties": { "title": {"type": "string"}, "start": {"type":… code-execution-tool Claude Developer Platform · in the page agents-and-tools/tool-use/code-execution-tool …epts the `code_execution_20260120` and `code_execution_20260521` tool types, but programmatic tool calling and the REPL state persistence that depends on it aren't available on it, so the newer versio… computer-use-tool Claude Developer Platform · in the page agents-and-tools/tool-use/computer-use-tool …h the SDK toolsets:** For `computer_toolset_20260801`, the Python and TypeScript SDKs have a computer toolset class, in beta. Start from [a partner's integration](https://platform.claude.com/docs/en/a… define-tools Claude Developer Platform · in the page agents-and-tools/tool-use/define-tools …as the bash and text editor tools, are declared by a date-versioned `type`; see each tool's page, linked from the [Tool reference](https://platform.claude.com/docs/en/agents-and-tools/tool-use/tool-r… fine-grained-tool-streaming Claude Developer Platform · in the page agents-and-tools/tool-use/fine-grained-tool-streaming …h cURL curl https://api.anthropic.com/v1/messages \ -H "content-type: application/json" \ -H "x-api-key: $ANTHROPIC_API_KEY" \ -H "anthropic-version: 2023-06-01" \ -d '{ "model… handle-tool-calls Claude Developer Platform · in the page agents-and-tools/tool-use/handle-tool-calls …tool_use", "role": "assistant", "content": [ { "type": "text", "text": "I'll check the current weather in San Francisco for you." }, { "type": "tool_u… how-tool-use-works Claude Developer Platform · in the page agents-and-tools/tool-use/how-tool-use-works …I experience can integrate tool use the same way they would any other typed interface: define the schema, handle the callback, return a result. The difference is that the caller on the other side is a… memory-tool Claude Developer Platform · in the page agents-and-tools/tool-use/memory-tool …vious context." ``` Claude calls the memory tool: ```text wrap { "type": "tool_use", "id": "toolu_01C4D5E6F7G8H9I0J1K2L3M4", "name": "memory", "input": { "command": "view", "path": "… overview Claude Developer Platform · in the page agents-and-tools/tool-use/overview …C_API_KEY" \ -H "anthropic-version: 2023-06-01" \ -H "content-type: application/json" \ -d '{ "model": "claude-opus-5-5", "max_tokens": 1024, "tools": [{"type": "web_sear… parallel-tool-use Claude Developer Platform · in the page agents-and-tools/tool-use/parallel-tool-use …` for it with `is_error: true` and a brief explanation. ```json { "type": "tool_result", "tool_use_id": "toolu_02", "is_error": true, "content": "Not executed: the preceding write_file call f… Process results programmatically Claude Developer Platform · in the page agents-and-tools/tool-use/programmatic-tool-calling …I_KEY" \ -H "anthropic-version: 2023-06-01" \ -H "content-type: application/json" \ -d '{ "model": "claude-opus-5-5", "max_tokens": 4096, "messages": [… server-tools Claude Developer Platform · in the page agents-and-tools/tool-use/server-tools …` prefix to distinguish it from client tool calls: ```text wrap { "type": "server_tool_use", "id": "srvtoolu_01A2B3C4D5E6F7G8H9", "name": "web_search", "input": { "query": "latest quantum com… strict-tool-use Claude Developer Platform · in the page agents-and-tools/tool-use/strict-tool-use …tool parameters, ensuring Claude calls your functions with correctly typed arguments. Use strict tool use when you need to: * Validate tool parameters * Build agentic workflows * Ensure type-safe fu… text-editor-tool Claude Developer Platform · in the page agents-and-tools/tool-use/text-editor-tool …h cURL curl https://api.anthropic.com/v1/messages \ -H "content-type: application/json" \ -H "x-api-key: $ANTHROPIC_API_KEY" \ -H "anthropic-version: 2023-06-01" \ -d '{ "model… tool-combinations Claude Developer Platform · in the page agents-and-tools/tool-use/tool-combinations …across the top five cloud providers." ```json { "tools": [ { "type": "web_search_20260209", "name": "web_search" }, { "type": "code_execution_20260521", "name": "code_execution" } ] } ``… tool-reference Claude Developer Platform · in the page agents-and-tools/tool-use/tool-reference …| `type` | Execution | [Beta header](http… Log at info level Claude Developer Platform · in the page agents-and-tools/tool-use/tool-runner …the SDK's tool runner to handle the agentic loop, error wrapping, and type safety automatically. --- The tool runner handles the agentic loop, error wrapping, and type safety so you don't have to. Wh… tool-search-tool Claude Developer Platform · in the page agents-and-tools/tool-use/tool-search-tool …C_API_KEY" \ -H "anthropic-version: 2023-06-01" \ -H "content-type: application/json" \ -d '{ "model": "claude-opus-5-5", "max_tokens": 2048, "messages": [ {… tool-use-with-prompt-caching Claude Developer Platform · in the page agents-and-tools/tool-use/tool-use-with-prompt-caching …ing). ## cache\_control on tool definitions Place `cache_control: {"type": "ephemeral"}` on the last tool in your `tools` array. This caches the entire tool-definitions prefix, from the first tool t… troubleshooting-tool-use Claude Developer Platform · in the page agents-and-tools/tool-use/troubleshooting-tool-use …| | Claude calls with wrong parameter types | Ambiguous schema | Add `strict: true` (if your schema is in the supported subset) or add `i… web-fetch-tool Claude Developer Platform · in the page agents-and-tools/tool-use/web-fetch-tool …C_API_KEY" \ -H "anthropic-version: 2023-06-01" \ -H "content-type: application/json" \ -d '{ "model": "claude-opus-5-5", "max_tokens": 4096, "messages": [ {… web-search-tool Claude Developer Platform · in the page agents-and-tools/tool-use/web-search-tool …C_API_KEY" \ -H "anthropic-version: 2023-06-01" \ -H "content-type: application/json" \ -d '{ "model": "claude-opus-5-5", "max_tokens": 4096, "messages": [ {… Beta Claude Developer Platform · in the page api/beta …: https://platform.claude.com/docs/en/api/beta --- # Beta ## Domain types ### Anthropic Beta - `AnthropicBeta = string or "message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-u… beta-headers Claude Developer Platform · in the page api/beta-headers …thropic-version: 2023-06-01 anthropic-beta: BETA_FEATURE_NAME content-type: application/json ``` Each feature's documentation states the exact beta name to send. The [API overview](https://platform.c…
Feedback