Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

686 pages for input.

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

Handle approvals and user input Claude Code CLI · title agent-sdk/user-input SEP-1303: Input Validation Errors as Tool Execution Errors Model Context Protocol · title seps/1303-input-validation-errors-as-tool-execution-errors SEP-2106: Tools `inputSchema` & `outputSchema` Conform to JSON Schema 2020-12 Model Context Protocol · title seps/2106-json-schema-2020-12 glossary Claude Developer Platform · in the page about-claude/glossary …ormation first must be retrieved from the knowledge base based on the input prompt, and then passed to the model along with the original query. The model uses this information to guide the output it g… Or, for the model with the same capabilities and no access approval requirement: Claude Developer Platform · in the page about-claude/models/migration-guide …to 128k output tokens per request. * **Pricing:** $10 USD per million input tokens and $50 USD per million output tokens. See [Claude pricing](https://platform.claude.com/docs/en/about-claude/pricing)… optimizing-for-cost-and-intelligence Claude Developer Platform · in the page about-claude/models/optimizing-for-cost-and-intelligence …docs/en/about-claude/models/optimizing-for-cost-and-intelligence#trim-input-and-context-tokens) | | A person waits between turns | Count the gaps between your requests, then pick the cache duration fr… pricing Claude Developer Platform · in the page about-claude/pricing …following table shows pricing for all Claude models: | Model | Base input tokens | 5m cache writes | 1h cache writes | Cache hits and refreshes | Output tokens | | :---- | :---- | :---- | :---- | :-… content-moderation Claude Developer Platform · in the page about-claude/use-case-guides/content-moderation …per post: 100 * Total characters: 100B * **Estimated tokens** * Input tokens: 28.6B (assuming 1 token per 3.5 characters) * Percentage of messages flagged: 3% * Output tokens per flagged mes… customer-support-chat Claude Developer Platform · in the page about-claude/use-case-guides/customer-support-chat …, "description": "Calculate the insurance quote based on user input. Returned value is per month premium.", "input_schema": { "type": "object", "properties": {… legal-summarization Claude Developer Platform · in the page about-claude/use-case-guides/legal-summarization …ment: 300,000 * Total characters: 300M * **Estimated tokens** * Input tokens: 108M, about 108,000 per agreement (about 1 token per 2.8 characters, the rate both models showed on this guide’s sam… ticket-routing Claude Developer Platform · in the page about-claude/use-case-guides/ticket-routing …n> <Accordion title="You need to handle complex, unstructured text inputs"> Traditional ML models often struggle with unstructured data and require extensive feature engineering. Claude’s advan… PDF Processing Claude Developer Platform · in the page agents-and-tools/agent-skills/best-practices …` **Step 1: Analyze the form** Run: `python scripts/analyze_form.py input.pdf` This extracts form fields and their locations, saving to `fields.json`. **Step 2: Create field mapping** Edit `field… enterprise Claude Developer Platform · in the page agents-and-tools/agent-skills/enterprise …xfiltrate data through responses, or alter behavior based on specific inputs. 4. **Check for external URL fetches or network calls.** Search scripts and instructions for network access patterns (`http… mcp-connector Claude Developer Platform · in the page agents-and-tools/mcp-connector …ACSWkSj4X2yov1", "name": "echo", "server_name": "example-mcp", "input": { "param1": "value1", "param2": "value2" } } ``` ### MCP tool result block ```json { "type": "mcp_tool_result", "too… advisor-tool Claude Developer Platform · in the page agents-and-tools/tool-use/advisor-tool …ols/tool-use/server-tools) block with `name: "advisor"` and an empty `input`. The executor signals timing, and the server supplies context. 2. Anthropic runs a separate inference pass on the advisor m… bash-tool Claude Developer Platform · in the page agents-and-tools/tool-use/bash-tool …"id": "toolu_01A09q90qw90lq917835lq9", "name": "bash", "input": { "command": "ls *.py" } } ] } ``` Run `input.command` in your bash session and send the output back… browser-use-sdk Claude Developer Platform · in the page agents-and-tools/tool-use/browser-use-sdk …se/browser-use-sdk#gate-consequential-members), and it can change the input. The SDK doesn’t check the changed input again. Code after the call receives the result, and it can change the result. Raise… browser-use-tool Claude Developer Platform · in the page agents-and-tools/tool-use/browser-use-tool …and acts on live webpages, so everything a page supplies is untrusted input and the actions Claude takes can have real effects. See [Security considerations](https://platform.claude.com/docs/en/agents… build-a-tool-using-agent Claude Developer Platform · in the page agents-and-tools/tool-use/build-a-tool-using-agent …ys, and optional fields, so you will see how Claude handles realistic input shapes rather than a single flat string. <Note> Every ring runs standalone. Copy any ring into a fresh file and it will r… code-execution-tool Claude Developer Platform · in the page agents-and-tools/tool-use/code-execution-tool …vtoolu_01B3C4D5E6F7G8H9I0J1K2L3", "name": "bash_code_execution", "input": { "command": "ls -la | head -5" } }, { "type": "bash_code_execution_tool_result", "tool_use_id": "srvtoolu_01B3C… computer-use-tool Claude Developer Platform · in the page agents-and-tools/tool-use/computer-use-tool …"name": "left_click", "toolset_name": "computer", "input": { "coordinate": [512, 742] } }, { "type": "tool_use", "id": "toolu_017nJn3RgSCkTMwuZDb4uUov", "n… define-tools Claude Developer Platform · in the page agents-and-tools/tool-use/define-tools …what the tool does, when it should be used, and how it behaves. | | `input_schema` | A [JSON Schema](https://json-schema.org/) object defining the expected parameters for the tool. | | `input_example… fine-grained-tool-streaming Claude Developer Platform · in the page agents-and-tools/tool-use/fine-grained-tool-streaming …d-tools/tool-use/fine-grained-tool-streaming description: Stream tool inputs without server-side JSON buffering for latency-sensitive applications. featureMetadata: status: stable zdr: eligibi… handle-tool-calls Claude Developer Platform · in the page agents-and-tools/tool-use/handle-tool-calls …the tool results later. * `name`: The name of the tool being used. * `input`: An object containing the input being passed to the tool, conforming to the tool’s `input_schema`. A `tool_use` block for… how-tool-use-works Claude Developer Platform · in the page agents-and-tools/tool-use/how-tool-use-works …model. You specify what operations are available and what shape their inputs and outputs take; Claude determines when and how to call them. The model never runs anything on its own. It emits a structu… manage-tool-context Claude Developer Platform · in the page agents-and-tools/tool-use/manage-tool-context …ions from the start. Cache writes carry a 25 percent markup over base input pricing, which pays back on the second request that hits the cache. 2. Add tool search once you have 10 or more tools or you… memory-tool Claude Developer Platform · in the page agents-and-tools/tool-use/memory-tool …se", "id": "toolu_01C4D5E6F7G8H9I0J1K2L3M4", "name": "memory", "input": { "command": "view", "path": "/memories" } } ``` **3. Your application returns the directory contents:** ```js… overview Claude Developer Platform · in the page agents-and-tools/tool-use/overview …To have Claude call a function that you define, pass a tool with an `input_schema`, then run the call when Claude returns a `tool_use` block. The [client tool example](https://platform.claude.com/doc… parallel-tool-use Claude Developer Platform · in the page agents-and-tools/tool-use/parallel-tool-use …scription": "Get the current weather in a given location", "input_schema": { "type": "object", "properties": { "location": {… Process results programmatically Claude Developer Platform · in the page agents-and-tools/tool-use/programmatic-tool-calling …performance by an average of 11 percent while using 24 percent fewer input tokens (see [Improved web search with dynamic filtering](https://claude.com/blog/improved-web-search-with-dynamic-filtering)… server-tools Claude Developer Platform · in the page agents-and-tools/tool-use/server-tools …e", "id": "srvtoolu_01A2B3C4D5E6F7G8H9", "name": "web_search", "input": { "query": "latest quantum computing breakthroughs" } } ``` The API runs the tool internally. You see the call and its re… strict-tool-use Claude Developer Platform · in the page agents-and-tools/tool-use/strict-tool-use …tool-use description: Enforce JSON Schema compliance on Claude's tool inputs with grammar-constrained sampling. featureMetadata: status: stable zdr: eligibility: qualified note: "Excludes… text-editor-tool Claude Developer Platform · in the page agents-and-tools/tool-use/text-editor-tool …9q90qw90lq917835lq9", "name": "str_replace_based_edit_tool", "input": { "command": "view", "path": "primes.py" } } ``` Example for viewing a directory: ```json {… tool-combinations Claude Developer Platform · in the page agents-and-tools/tool-use/tool-combinations …aude calls page-aware member tools such as `read_page`, `find`, `form_input`, and `get_page_text` alongside clicks and typing, so it can act on element references in addition to pixel coordinates. ``… tool-reference Claude Developer Platform · in the page agents-and-tools/tool-use/tool-reference …` declares a fixed set of member tools whose names, descriptions, and input schemas Anthropic defines, and your application runs every call. The entry takes no `name`, because the dated `type` fixes t… Log at info level Claude Developer Platform · in the page agents-and-tools/tool-use/tool-runner …description: "Get the current weather in a given location", inputSchema: z.object({ location: z.string().describe("The city and state, e.g. San Francisco, CA"), unit: z.enum(… tool-search-tool Claude Developer Platform · in the page agents-and-tools/tool-use/tool-search-tool …(up to 5 by default, although Claude can set a `limit` in its search input). 6. The API automatically expands these references into full tool definitions. 7. Claude selects from the discovered tools… tool-use-with-prompt-caching Claude Developer Platform · in the page agents-and-tools/tool-use/tool-use-with-prompt-caching …"description": "Get the current weather in a given location", "input_schema": { "type": "object", "properties": { "location": { "type": "string" } }, "… troubleshooting-tool-use Claude Developer Platform · in the page agents-and-tools/tool-use/troubleshooting-tool-use …eneric schema | Check for duplicate names across your tool list. Add `input_examples` to make the intended use concrete. | | Claude calls with wrong parameter types | Ambiguous schema | Add `strict: t… web-fetch-tool Claude Developer Platform · in the page agents-and-tools/tool-use/web-fetch-tool …g the web fetch tool in environments where Claude processes untrusted input alongside sensitive data poses data exfiltration risks. Only use this tool in trusted environments or when handling non-sens… web-search-tool Claude Developer Platform · in the page agents-and-tools/tool-use/web-search-tool …rvtoolu_01WYG3ziw53XMcoyKL4XcZmE", "name": "web_search", "input": { "query": "claude shannon birth date" } }, // 3. Search results { "type": "web_search_too… Beta Claude Developer Platform · in the page api/beta …Whether the model supports xhigh effort level. - `image_input: BetaCapabilitySupport` Whether the model accepts image content blocks. - `pdf_input: BetaCapabilitySupport`… Agents Claude Developer Platform · in the page api/beta/agents …er decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged saf… Archive Agent Claude Developer Platform · in the page api/beta/agents/archive …er decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged saf… Create Agent Claude Developer Platform · in the page api/beta/agents/create …er decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged saf… List Agents Claude Developer Platform · in the page api/beta/agents/list …er decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged saf… Get Agent Claude Developer Platform · in the page api/beta/agents/retrieve …er decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged saf… Update Agent Claude Developer Platform · in the page api/beta/agents/update …er decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged saf… Versions Claude Developer Platform · in the page api/beta/agents/versions …er decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged saf… List Agent Versions Claude Developer Platform · in the page api/beta/agents/versions/list …er decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged saf…
Feedback