Follow Discord
Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
Search the documentation

50 pages for types.

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.

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 model-deprecations Claude Developer Platform · in the page about-claude/model-deprecations …ng table shows. Most SDKs keep deprecated parameters in their request types so existing code continues to type-check. The Python SDK (v1.0 and later) removes `temperature`, `top_p`, and `top_k`, so pa… Or, for the model with the same capabilities and no access approval requirement: Claude Developer Platform · in the page about-claude/models/migration-guide …ssages=[{"role": "user", "content": "..."}], ) ``` ```typescript TypeScript await client.messages.create({ model: "claude-mythos-preview", max_tokens: 16000,… optimizing-for-cost-and-intelligence Claude Developer Platform · in the page about-claude/models/optimizing-for-cost-and-intelligence …the 1-hour duration instead. <CodeGroup exclude="shell:CLI, python, typescript, csharp, go, java, php, ruby"> ```bash cURL # Within 4 minutes of the last request's start (time spent generating c… 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… 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… Create the full URL from the GitHub repository Claude Developer Platform · in the page about-claude/use-case-guides/legal-summarization …uld be reviewed by legal professionals. 2. **Handle diverse document types:** This guide discusses how to extract text from PDFs. In the real world, documents may come in a variety of formats (such a… Create an instance of the Claude API client Claude Developer Platform · in the page about-claude/use-case-guides/ticket-routing …ries or changing ticket patterns. Test this by introducing new ticket types and measuring the time it takes for the model to achieve satisfactory accuracy (for example, >90%) on these new categories.… PDF Processing Claude Developer Platform · in the page agents-and-tools/agent-skills/best-practices …e image to identify form fields 3. Claude can see field locations and types visually ```` <Note> In this example, you'd need to write the `pdf_to_images.py` script. </Note> Claude's vision capabil… 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 …betas=["mcp-client-2025-11-20"], ) print(response) ``` ```typescript TypeScript const anthropic = new Anthropic(); const response = await anthropic.beta.messages.create({ model: "… overview Claude Developer Platform · in the page agents-and-tools/mcp-tunnels/overview …betas=["mcp-client-2025-11-20"], ) print(response) ``` ```typescript TypeScript const anthropic = new Anthropic(); const response = await anthropic.beta.messages.create({ model: "… advisor-tool Claude Developer Platform · in the page agents-and-tools/tool-use/advisor-tool …l shutdown.", } ], ) print(response) ``` ```typescript TypeScript const client = new Anthropic(); const response = await client.beta.messages.create({ model: "claude… bash-tool Claude Developer Platform · in the page agents-and-tools/tool-use/bash-tool …the current directory."} ], ) print(response) ``` ```typescript TypeScript const client = new Anthropic(); const response = await client.messages.create({ model: "claude-opus… browser-use-tool Claude Developer Platform · in the page agents-and-tools/tool-use/browser-use-tool …get started.", } ], ) print(response) ``` ```typescript TypeScript const client = new Anthropic(); const response = await client.messages.create({ model: "claude-opus… build-a-tool-using-agent Claude Developer Platform · in the page agents-and-tools/tool-use/build-a-tool-using-agent …content if block.type == "text") print(final_text.text) ``` ```typescript TypeScript // Ring 1: Single tool, single turn. import Anthropic from "@anthropic-ai/sdk"; // Create a client.… 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 …picture of a cat to my desktop."}], ) print(response) ``` ```typescript TypeScript const client = new Anthropic(); const response = await client.messages.create({ model: "claude-opus… define-tools Claude Developer Platform · in the page agents-and-tools/tool-use/define-tools …weather like in San Francisco?"}], ) print(response) ``` ```typescript TypeScript const client = new Anthropic(); const response = await client.messages.create({ model: "claude-opus… fine-grained-tool-streaming Claude Developer Platform · in the page agents-and-tools/tool-use/fine-grained-tool-streaming …": print(f"Complete tool input: {block.input}") ``` ```typescript TypeScript const client = new Anthropic(); const stream = client.messages.stream({ model: "claude-opus-5-5",… handle-tool-calls Claude Developer Platform · in the page agents-and-tools/tool-use/handle-tool-calls …https://platform.claude.com/docs/en/build-with-claude/search-results) types. * `is_error` (optional): Set to `true` if the tool execution resulted in an error. A `tool_result` that answers a compu… memory-tool Claude Developer Platform · in the page agents-and-tools/tool-use/memory-tool …mory_20250818", "name": "memory"}], ) print(message) ``` ```typescript TypeScript const anthropic = new Anthropic(); const message = await anthropic.messages.create({ model: "claude… overview Claude Developer Platform · in the page agents-and-tools/tool-use/overview …test on the Mars rover?"}], ) print(response.content) ``` ```typescript TypeScript const client = new Anthropic(); const response = await client.messages.create({ model: "claude-opus-… parallel-tool-use Claude Developer Platform · in the page agents-and-tools/tool-use/parallel-tool-use …sation formatted correctly for future parallel tool use") ``` ```typescript TypeScript const client = new Anthropic(); // Define tools const tools: Anthropic.Tool[] = [ { name: "… Process results programmatically Claude Developer Platform · in the page agents-and-tools/tool-use/programmatic-tool-calling …_20260120"], }, ], ) print(response) ``` ```typescript TypeScript const client = new Anthropic(); const response = await client.messages.create({ model: "claude-opus… server-tools Claude Developer Platform · in the page agents-and-tools/tool-use/server-tools …print(continuation) else: print(response) ``` ```typescript TypeScript const client = new Anthropic(); // Initial request with web search const response = await client.mess… strict-tool-use Claude Developer Platform · in the page agents-and-tools/tool-use/strict-tool-use …ma conformance. Without strict mode, Claude might return incompatible types (`"2"` instead of `2`) or omit required fields, breaking your functions and causing runtime errors. Strict tool use guarant… text-editor-tool Claude Developer Platform · in the page agents-and-tools/tool-use/text-editor-tool …me fix it?", } ], ) print(response) ``` ```typescript TypeScript const anthropic = new Anthropic(); const response = await anthropic.messages.create({ model: "claud… Log at info level Claude Developer Platform · in the page agents-and-tools/tool-use/tool-runner …ps://github.com/anthropics/anthropic-sdk-python/blob/main/tools.md), [TypeScript SDK](https://github.com/anthropics/anthropic-sdk-typescript/blob/main/helpers.md#tool-helpers), [C# SDK](https://github… tool-search-tool Claude Developer Platform · in the page agents-and-tools/tool-use/tool-search-tool …"query": {"type": "string"}, "file_types": { "type": "array", "items": {"type": "string"}… troubleshooting-tool-use Claude Developer Platform · in the page agents-and-tools/tool-use/troubleshooting-tool-use …| | Claude calls with wrong parameter types | Model guessing at 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 …h_20260318", "name": "web_fetch"}], ) print(response) ``` ```typescript TypeScript const client = new Anthropic(); const response = await client.messages.create({ model: "claude-opus… web-search-tool Claude Developer Platform · in the page agents-and-tools/tool-use/web-search-tool …_20260318", "name": "web_search"}], ) print(response) ``` ```typescript TypeScript const client = new Anthropic(); const response = await client.messages.create({ model: "claude-opus… 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 …t-management-2025-06-27"], ) print(response.content) ``` ```typescript TypeScript const client = new Anthropic(); const msg = await client.beta.messages.create({ model: "claude-opus… Agents Claude Developer Platform · in the page api/beta/agents …"updated_at": "2026-03-15T10:00:00Z", "version": 1 } ``` ## Domain types ### Beta Managed Agents Advisor - `BetaManagedAgentsAdvisor object` Platform advisor roster entry: a model the session'… Deployment Runs Claude Developer Platform · in the page api/beta/deployment_runs …"type": "schedule" }, "type": "deployment_run" } ``` ## Domain types ### Beta Managed Agents Agent Archived Run Error - `BetaManagedAgentsAgentArchivedRunError object` The deployment's age… Deployments Claude Developer Platform · in the page api/beta/deployments …"currency": "USD" }, "type": "limit" } } ``` ## Domain types ### Beta Managed Agents Agent Archived Deployment Paused Reason Error - `BetaManagedAgentsAgentArchivedDeploymentPausedRea… Dreams Claude Developer Platform · in the page api/beta/dreams …0, "input_tokens": 0, "output_tokens": 0 } } ``` ## Domain types ### Beta Dream - `BetaDream object` An asynchronous job that reads a memory store and past sessions, then writes a reor… Environments Claude Developer Platform · in the page api/beta/environments …": "2026-03-15T10:00:00Z", "scope": "organization" } ``` ## Domain types ### Beta Cloud Config - `BetaCloudConfig object` `cloud` environment configuration. - `type: "cloud"` Environme… Work Claude Developer Platform · in the page api/beta/environments/work …"type": "work_queue_stats", "workers_polling": 0 } ``` ## Domain types ### Beta Self Hosted Work - `BetaSelfHostedWork object` Work resource representing a unit of work in a self-hosted envi… Files Claude Developer Platform · in the page api/beta/files …_011CNha8iCJcU1wXNR6q4V8w", "type": "file_deleted" } ``` ## Domain types ### Beta Deleted File - `BetaDeletedFile object` - `type: optional "file_deleted"` Deleted object type. For f…
Feedback