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.

search-results Claude Developer Platform · in the page build-with-claude/search-results …ription": "Search the company knowledge base for information", "input_schema": { "type": "object", "properties": {"query": {"type": "string", "description": "The search query… skills-guide Claude Developer Platform · in the page build-with-claude/skills-guide …ctual file content. 4. Save locally or process as needed. To provide input files for Skills to work on, [upload them with the Files API](https://platform.claude.com/docs/en/build-with-claude/files#up… streaming Claude Developer Platform · in the page build-with-claude/streaming …inking-controls) beta header, this `Message` object also carries the `input_transformations` array. After a mid-stream [server-side fallback](https://platform.claude.com/docs/en/build-with-claude/refu… structured-outputs Claude Developer Platform · in the page build-with-claude/structured-outputs …use** (`strict: true`): Guarantee schema validation on tool names and inputs. See [Strict tool use](https://platform.claude.com/docs/en/agents-and-tools/tool-use/strict-tool-use). You can use these f… task-budgets Claude Developer Platform · in the page build-with-claude/task-budgets …tream.Err() != nil { panic(stream.Err()) } fmt.Printf("Usage: input_tokens=%d, output_tokens=%d\n", message.Usage.InputTokens, message.Usage.OutputTokens) ``` ```java Java AnthropicClie… thinking Claude Developer Platform · in the page build-with-claude/thinking …:"tool_use","id":"toolu_01D7FLrfh4GYq7yT1ULFeyMV","name":"edit_file","input":{}}} ``` Under `"updates"`, treat a block as a progress update as soon as one of its `thinking_delta` events carries non-e… thinking-steering-and-cost Claude Developer Platform · in the page build-with-claude/thinking-steering-and-cost …or the model. On each request, Claude evaluates the complexity of the input and determines whether deeper reasoning would improve the answer. A simple factual question might get a direct response with… thinking-tool-workflows Claude Developer Platform · in the page build-with-claude/thinking-tool-workflows …"description": "Get current weather for a location", "input_schema": { "type": "object", "properties": { "location": {"type": "string", "des… thinking-troubleshooting Claude Developer Platform · in the page build-with-claude/thinking-troubleshooting …is error: the API drops it and, under the beta header, reports it in `input_transformations`. ## The thinking field is empty in the response The response contains `thinking` blocks, but their `think… token-counting Claude Developer Platform · in the page build-with-claude/token-counting …i/messages/count_tokens) endpoint accepts the same structured list of inputs for creating a message, including support for system prompts, [tools](https://platform.claude.com/docs/en/agents-and-tools/… vision Claude Developer Platform · in the page build-with-claude/vision …pic.models.messages.*; import java.io.IOException; import java.io.InputStream; import java.nio.file.Files; import java.nio.file.Path; import java.util.List; void main() throws IOException… vision-coordinates Claude Developer Platform · in the page build-with-claude/vision-coordinates …e resize, use your image library, for example sharp: // await sharp(input).resize(width, height).toBuffer() ``` ```csharp C# // Visual tokens consumed by an image: one token for each 28x28 pi… working-with-messages Claude Developer Platform · in the page build-with-claude/working-with-messages …"stop_reason": "end_turn", "stop_sequence": null, "usage": { "input_tokens": 12, "output_tokens": 6 } } ``` Refusal responses (`stop_reason: "refusal"`) also include a `stop_details` ob… claude_api_primer Claude Developer Platform · in the page claude_api_primer …"stop_reason": "end_turn", "stop_sequence": null, "usage": { "input_tokens": 12, "output_tokens": 6 } } ``` ### Multiple conversational turns By default, the Messages API is stateless,… apply Claude Developer Platform · in the page cli-sdks-libraries/cli/apply …i_status", "description": "Get the CI status of a pull request", "input_schema": { "type": "object", "properties": { "pull_request": { "type": "integer", "description… quickstart Claude Developer Platform · in the page cli-sdks-libraries/cli/quickstart …nd, with output formatting, response filtering, and YAML or JSON file input. <Frame caption="The ant CLI in action."> <video aria-label="Screen recording of the ant CLI running in a terminal.">… sessions-connect Claude Developer Platform · in the page cli-sdks-libraries/cli/sessions-connect …delegates to. | Key | Action | | ----- | ----- | | Enter | Send your input as a `user.message` event. Alt+Enter or Ctrl+J starts a new line. | | Esc | Interrupt the agent while it’s running (`user.in… using Claude Developer Platform · in the page cli-sdks-libraries/cli/using …and debugging for the ant CLI. --- This page covers the `ant` CLI’s input and output mechanics that apply across every endpoint. To install and authenticate, see the [Quickstart](https://platform.cl… apple-foundation-models Claude Developer Platform · in the page cli-sdks-libraries/libraries/apple-foundation-models …eters, effort levels, adaptive thinking, structured output, and image input. The package uses this to determine which request fields to send, because sending a field a model rejects is a hard error. T… openai-sdk Claude Developer Platform · in the page cli-sdks-libraries/libraries/openai-sdk …at sets `json_object` or `text` returns a 400 error. * Audio and file inputs are not supported. A request that includes an `input_audio` or `file` content part returns a 400 error. * Prompt caching is… go Claude Developer Platform · in the page cli-sdks-libraries/sdks/go …ddress, then returns the latitude and longitude coordinates."), InputSchema: GetCoordinatesInputSchema, }, } tools := make([]anthropic.ToolUnionParam, len(toolParams)) for i, to… java Claude Developer Platform · in the page cli-sdks-libraries/sdks/java …tput from the AI model conforms to the JSON schema you provide in the input parameters. The SDK can derive a tool and its parameters automatically from the structure of an arbitrary Java class: the c… For Amazon Bedrock support Claude Developer Platform · in the page cli-sdks-libraries/sdks/python …on message = client.messages.create(...) print(message.usage) # Usage(input_tokens=25, output_tokens=13) ``` You can also count tokens before making a request: ```python count = client.messages.coun… Automatically handles tool execution loop Claude Developer Platform · in the page cli-sdks-libraries/sdks/ruby …s various helpers including accumulation and SDK-specific events. ## Input schema and tool calling The SDK provides helper mechanisms to define structured data classes for tools and let Claude autom… typescript Claude Developer Platform · in the page cli-sdks-libraries/sdks/typescript …" }], model: "claude-opus-5-5" }); console.log(message.usage); // { input_tokens: 25, output_tokens: 13 } ``` ## Streaming responses The SDK provides support for streaming responses using Server-S… get-started Claude Developer Platform · in the page get-started …ll, "stop_details": null, "usage": { "input_tokens": 21, "output_tokens": 305 } } ``` </Step> </Steps> </Tab> <Tab… home Claude Developer Platform · in the page home …er effort still fall short. All current models support text and image input, text output, multilingual capabilities, vision, and tool use. * [Claude Fable 5.2](https://platform.claude.com/docs/en/m… access-transparency Claude Developer Platform · in the page manage-claude/access-transparency …) | Yes | Prompts, completions, and data directly embedded in the API inputs | | Claude Code (using an API key) | Yes | API traffic from Claude Code is covered as Claude API traffic | | Claude Platfor… access-transparency-log Claude Developer Platform · in the page manage-claude/access-transparency-log …one index with different content, within one run or one `events FILE` input. * An event whose leaf cannot be rebuilt: for example, a documented field that is not a string, a field name that appears… api-and-data-retention Claude Developer Platform · in the page manage-claude/api-and-data-retention …s. As a result, if a chat or session is flagged, Anthropic may retain inputs and outputs for up to 2 years. ## Frequently asked questions <AccordionGroup> <Accordion title="How do I know if my org… First request Claude Developer Platform · in the page manage-claude/claude-code-analytics-api …:** Claude model identifier (for example, `claude-opus-5`) * **tokens.input/output:** Input and output token counts for this model * **tokens.cache\_read/cache\_creation:** Cache-related token usage f… claude-tag-api Claude Developer Platform · in the page manage-claude/claude-tag-api …ting support. | Status | Meaning | | ----- | ----- | | 400 | Invalid input, or the operation does not apply to this channel, workspace, or Bundle (see each endpoint’s section). | | 401 | Missing `x-a… WARNING: This operation PERMANENTLY deletes the chat, all of its messages, Claude Developer Platform · in the page manage-claude/compliance-content-data …each message’s `content` as `tool_use` blocks (the tool’s `name` and `input`) and `tool_result` blocks (its output, matched by `tool_use_id`). For exceptions, see [What chat messages do not return](ht… compliance-errors Claude Developer Platform · in the page manage-claude/compliance-errors …rameter value **Type:** `invalid_request_error` ```text wrap limit: Input should be less than or equal to 1000 ``` ```text wrap created_at.gte: Input should be a valid datetime or date, invalid cha… compliance-faq Claude Developer Platform · in the page manage-claude/compliance-faq …xt output only. | | Tool calls and results | Yes; each `tool_use` input and each `text` entry in a `tool_result` is truncated to 10,000 bytes by default (up to about 1 MiB each on request). | Yes;… compliance-sessions Claude Developer Platform · in the page manage-claude/compliance-sessions …onses | Yes | Yes | Yes, subject to content-capture settings | | Tool inputs | Truncated to 10,000 bytes for each input by default; up to about 1 MiB on request | Truncated to 10,000 bytes for each in… data-residency Claude Developer Platform · in the page manage-claude/data-residency …d indicating where inference ran: ```json Output { "usage": { "input_tokens": 25, "output_tokens": 150, "inference_geo": "us" } } ``` ### Model availability The `inference_geo` para… inference-hooks Claude Developer Platform · in the page manage-claude/inference-hooks …ore conversation**, then edit or clear the prompt that returns to the input field. `/clear` starts over. See [Checkpointing](https://code.claude.com/docs/en/checkpointing). * **Cowork.** The user edit… inference-hooks-endpoint Claude Developer Platform · in the page manage-claude/inference-hooks-endpoint …in the body; transcripts can be megabytes. file_get_contents('php://input'); http_response_code(200); header('Content-Type: application/json'); echo '{"action": "allow"}'; ``` ```ruby Ru… opentelemetry Claude Developer Platform · in the page manage-claude/opentelemetry …is in `gen_ai.system_instructions`, the request’s messages in `gen_ai.input.messages`, and the response in `gen_ai.output.messages`. For each span and its attributes, see the [OpenTelemetry span refe… plugins-api Claude Developer Platform · in the page manage-claude/plugins-api …/ which the upload requires. var archive = MultipartField.<List<InputStream>>builder() .value(List.of(Files.newInputStream(Path.of("dist/sales-toolkit.zip")))) .filename("sal… rate-limits-api Claude Developer Platform · in the page manage-claude/rate-limits-api …`type` field identifies the limiter (such as `requests_per_minute`, `input_tokens_per_minute`, or `output_tokens_per_minute`) and `value` is the configured limit. See [Rate limits](https://platform.c… usage-cost-analytics-api Claude Developer Platform · in the page manage-claude/usage-cost-analytics-api …"api_key_id": null }, "usage": { "uncached_input_tokens": 1284500, "cache_creation": { "ephemeral_1h_input_tokens": 0, "ephemeral_5m_input_tokens… First request Claude Developer Platform · in the page manage-claude/usage-cost-api …tervals (`1m`, `1h`, or `1d`). * **Token tracking:** Measure uncached input, cached input, cache creation, and output tokens. * **Filtering & grouping:** Filter by API key, workspace, model, service t… aws Claude Developer Platform · in the page manage-claude/wif-providers/aws …ut, err := stsClient.GetWebIdentityToken(ctx, &sts.GetWebIdentityTokenInput{ Audience: []string{"https://api.anthropic.com"}, SigningAlgorithm: aws.String("RS256"), DurationSeconds… wif-reference Claude Developer Platform · in the page manage-claude/wif-reference …security boundaries. An expression that evaluates to `true` for more inputs than intended grants broader access than intended. Prefer the static matchers when they express your constraint. </Warning>… workspaces Claude Developer Platform · in the page manage-claude/workspaces …*Email notifications**. * **Rate limits:** Limit requests per minute, input tokens per minute, or output tokens per minute. To set these, go to [Rate limits in the Claude Console](https://platform.cla… choosing-an-environment Claude Developer Platform · in the page managed-agents/choosing-an-environment …n/managed-agents/self-hosted-sandboxes#session-resources). You [stage input files yourself](https://platform.claude.com/docs/en/managed-agents/self-hosted-sandboxes-per-session#stage-files-for-a-sessi… DCF Model Rubric Claude Developer Platform · in the page managed-agents/define-outcomes …import com.anthropic.models.files.FileUploadParams; import java.io.InputStream; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.StandardCopyOption; void main()… dreams Claude Developer Platform · in the page managed-agents/dreams …tries replaced with the latest value, and new insights surfaced. The input store is never modified, so you can review the output and discard it if you don’t like the result. ## How it works A **dre…
Feedback