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

1,081 pages for value.

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

preserved-thinking Claude Developer Platform · in the page build-with-claude/preserved-thinking …wrap That setting requires the `thinking-binding-controls-2026-08-01` value in the `anthropic-beta` header. ``` It usually ends with a sentence naming what changed, for example that the `system` prom… Request 2 caches its request content (not the response) Claude Developer Platform · in the page build-with-claude/prompt-caching …ffort`](https://platform.claude.com/docs/en/build-with-claude/effort) value always invalidates message blocks, with the same model-specific effect on tool and system caches as thinking parameters. Set… claude-prompting-best-practices Claude Developer Platform · in the page build-with-claude/prompt-engineering/claude-prompting-best-practices …ever, if some tool calls depend on previous calls to inform dependent values like the parameters, do NOT call these tools in parallel and instead call them sequentially. Never use placeholders or gues… Delivering work Claude Developer Platform · in the page build-with-claude/prompt-engineering/prompting-claude-fable-5-1 …ar toolUse)) { var path = toolUse.Input.TryGetValue("path", out var pathValue) && pathValue.ValueKind == JsonValueKind.String ? pathValue.Ge… prompting-claude-haiku-5-5 Claude Developer Platform · in the page build-with-claude/prompt-engineering/prompting-claude-haiku-5-5 …ounts toward `max_tokens`, which can go up to 128,000. A `max_tokens` value sized for Claude Haiku 4.5 requests that ran without thinking can cut the reply off, so leave room for thinking. * To get le… prompting-claude-opus-5-5 Claude Developer Platform · in the page build-with-claude/prompt-engineering/prompting-claude-opus-5-5 …ng: in Anthropic's testing, even at its lowest effort setting it read values off dense charts more accurately than Claude Opus 5 did at its highest, using a small fraction of the output tokens. It is… prompting-claude-sonnet-5-5 Claude Developer Platform · in the page build-with-claude/prompt-engineering/prompting-claude-sonnet-5-5 …ps thinking on most simple requests. Changing the top-level `effort` value between requests invalidates the prompt cache. To change the level partway through a conversation, use a [per-message effort… refusals-and-fallback Claude Developer Platform · in the page build-with-claude/refusals-and-fallback …ld-with-claude/handling-stop-reasons): the full list of `stop_reason` values * [Fallback credit](https://platform.claude.com/docs/en/build-with-claude/fallback-credit): how to avoid paying the prompt-… search-results Claude Developer Platform · in the page build-with-claude/search-results …settings. Common causes include network latency and incorrect timeout values.", ) ], citations={"enabled": True}, ), ] # Build up the… skills-guide Claude Developer Platform · in the page build-with-claude/skills-guide …---------------------------------------------------------- | | **Type value** | `anthropic` | `custom`… streaming Claude Developer Platform · in the page build-with-claude/streaming …turns. This is especially useful for requests with large `max_tokens` values, where the SDK requires streaming to avoid HTTP timeouts. <CodeGroup exclude="shell:cURL"> ```bash CLI # The ant CLI's… structured-outputs Claude Developer Platform · in the page build-with-claude/structured-outputs …st().orElseThrow().text(); IO.println(new ObjectMapper().writeValueAsString(contact)); } ``` When you pass a Java class to `outputConfig()`, the SDK derives a JSON schema from it… task-budgets Claude Developer Platform · in the page build-with-claude/task-budgets …on the next request. Keep the caching consequence in mind: the budget value participates in the rendered prompt, so a changed value does not match cache entries created under the old one (see [Feature… thinking Claude Developer Platform · in the page build-with-claude/thinking …. The following table shows what each model does with each `thinking` value a request can send. A 400 error means the API rejects the request, and [Troubleshooting thinking](https://platform.claude.co… thinking-steering-and-cost Claude Developer Platform · in the page build-with-claude/thinking-steering-and-cost …#thinking-and-prompt-caching) for the full rules. The resolved effort value is rendered into the prompt, so changing it between requests invalidates cache breakpoints, just as changing the legacy [`bu… thinking-tool-workflows Claude Developer Platform · in the page build-with-claude/thinking-tool-workflows …hema(Tool.InputSchema.builder() .properties(JsonValue.from(Map.of( "location", Map.of("type", "string", "description", "City name")… thinking-troubleshooting Claude Developer Platform · in the page build-with-claude/thinking-troubleshooting …nking configuration errors are a mismatch between the `thinking.type` value in the request and what the model supports. On most models, thinking runs as `thinking: {type: "adaptive"}`, and many have i… token-counting Claude Developer Platform · in the page build-with-claude/token-counting …nputSchema.builder() .properties( JsonValue.from( Map.of( "location", Map.of(… vision Claude Developer Platform · in the page build-with-claude/vision …MultipartField.<InputStream>builder() .value(Files.newInputStream(Path.of("vision-example.jpg"))) .filename("vision-example.jpg")… vision-coordinates Claude Developer Platform · in the page build-with-claude/vision-coordinates …te a different size for some images. */ function roundTiesToEven(value: number): number { const floor = Math.floor(value); if (value - floor !== 0.5) { return Math.round(value);… working-with-messages Claude Developer Platform · in the page build-with-claude/working-with-messages …ration-2026-10-21#sampling-parameters). Setting them to a non-default value returns a 400 error, and starting with `2026-10-21` any value does. Omit them from request payloads and use prompting to gui… API usage primer for Claude Claude Developer Platform · in the page claude_api_primer …els, manual extended thinking (`type: enabled` with a `budget_tokens` value) is not supported and returns a 400 error. Use [adaptive thinking](https://platform.claude.com/docs/en/build-with-claude/thi… apply Claude Developer Platform · in the page cli-sdks-libraries/cli/apply …A field you never set, or one the API can't clear, keeps its current value. If a resource was edited, archived, or deleted outside these files (in the Claude Console, for example), the plan ends wit… On a remote host without a browser: Claude Developer Platform · in the page cli-sdks-libraries/cli/authentication …rm.claude.com/docs/en/cli-sdks-libraries/cli/using#global-flags). The value must be a `wrkspc_...` ID. ```bash CLI ant messages create \ --workspace-id wrkspc_01... \ --model claude-opus-5-5 \… using Claude Developer Platform · in the page cli-sdks-libraries/cli/using …ape of the data: use **flags** for scalar fields and short structured values, pipe a **stdin** document for nested or multiline bodies, and use **`@file` references** to pull file contents into any st… apple-foundation-models Claude Developer Platform · in the page cli-sdks-libraries/libraries/apple-foundation-models …requires a macOS 27 host. ## Choosing a model Model identifiers are values of `ClaudeModel`. Use a compiled-in constant, or construct one with explicit capabilities for an ID that isn't compiled in… openai-sdk Claude Developer Platform · in the page cli-sdks-libraries/libraries/openai-sdk …are you?") .putAdditionalBodyProperty("thinking", JsonValue.from(Map.of("type", "enabled", "budget_tokens", 2000))) .build(); ChatCompletion completion = client.chat().complet… overview Claude Developer Platform · in the page cli-sdks-libraries/overview …https://platform.claude.com/docs/en/cli-sdks-libraries/sdks/php"> Value objects, builder pattern </Card> <Card title="Ruby" href="https://platform.claude.com/docs/en/cli-sdks-libraries/sdks/r… csharp Claude Developer Platform · in the page cli-sdks-libraries/sdks/csharp …options: | Property | Environment variable | Required | Default value | | ----------- | ---------------------- | -------- | ----------------------------- | | `ApiKey` | `ANTHR… go Claude Developer Platform · in the page cli-sdks-libraries/sdks/go …..,required"` ``. These fields are always serialized, even their zero values. Optional primitive types are wrapped in a `param.Opt[T]`. These fields can be set with the provided constructors, such as… java Claude Developer Platform · in the page cli-sdks-libraries/sdks/java …| System property | Environment variable | Required | Default value | | ----------- | --------------------- | ---------------------- | -------- | -----------------------------… php Claude Developer Platform · in the page cli-sdks-libraries/sdks/php …dks/php description: Install and configure the Anthropic PHP SDK with value objects and builder patterns --- The Anthropic PHP library provides convenient access to the Claude API from any PHP 8.1.0+… For Amazon Bedrock support Claude Developer Platform · in the page cli-sdks-libraries/sdks/python …nger-running requests. </Warning> Avoid setting a large `max_tokens` value without using streaming. Some networks might drop idle connections after a certain period of time, which can cause the reque… Automatically handles tool execution loop Claude Developer Platform · in the page cli-sdks-libraries/sdks/ruby …axed" type, so you can either pass in enum constants or their literal value: ```ruby anthropic = Anthropic::Client.new # Using the enum constants preserves the tagged type information: anthropic.mess… typescript Claude Developer Platform · in the page cli-sdks-libraries/sdks/typescript …### MCP error handling The conversion functions throw `UnsupportedMCPValueError` if an MCP value isn't supported by the Claude API (for example, unsupported content type, unsupported MIME type, non-H… get-api-key Claude Developer Platform · in the page get-api-key …ce; workspace keys don't work there. They never return a key's secret value, only a partially redacted hint. <Note> The Admin API can't recover a lost key or give you a key to call the Claude API w… access-transparency-log Claude Developer Platform · in the page manage-claude/access-transparency-log …ude.com/settings/organization`) in the Claude Console. It is the same value the Activity Feed serves as `organization_uuid`, but take it from the Console. This value is what makes a checkpoint yours,… analytics-api Claude Developer Platform · in the page manage-claude/analytics-api …within 4 hours of the underlying usage but might take up to 24 hours. Values can be revised as late events arrive and reconciliation runs, until about 7 days after the end of the calendar month. For e… api-and-data-retention Claude Developer Platform · in the page manage-claude/api-and-data-retention …initions.** This restriction applies to schema property names, `enum` values, `const` values, and `pattern` regular expressions. Patient-specific information should appear only in message content, whe… authentication Claude Developer Platform · in the page manage-claude/authentication …" }, "request_id": "req_011CSHoEeqs5C35K2UUqR7Fy" } ``` A header value that isn't a valid workspace ID returns a 400 `invalid_request_error` with the message `anthropic-workspace-id header must b… First request Claude Developer Platform · in the page manage-claude/claude-code-analytics-api …eter. 2. If `has_more` is `true` in the response, use the `next_page` value in your next request. 3. Continue until `has_more` is `false`. The cursor encodes the position of the last record and ensur… cmek Claude Developer Platform · in the page manage-claude/cmek …redential](https://platform.claude.com/docs/en/managed-agents/vaults) values, such as OAuth tokens and client secrets. These are stored under Anthropic-managed encryption, are write-only, and are neve… cmek-admin-api Claude Developer Platform · in the page manage-claude/cmek-admin-api …anage-claude/cmek-azure-key-vault#encryption-key-setup), and kept the values the setup steps tell you to copy. * You have a workspace that [retains data](https://platform.claude.com/docs/en/manage-cla… cmek-azure-key-vault Claude Developer Platform · in the page manage-claude/cmek-azure-key-vault …<Step title="Create an RSA key in your vault"> Set these values: * **Name:** a name for the key * **Key type:** RSA * **RSA key size:** 3072 or larger Cl… cmek-coverage-claude-platform Claude Developer Platform · in the page manage-claude/cmek-coverage-claude-platform …redential](https://platform.claude.com/docs/en/managed-agents/vaults) values, such as OAuth tokens and client secrets | Write-only and never returned in API r… cmek-google-cloud-kms Claude Developer Platform · in the page manage-claude/cmek-google-cloud-kms …* **Key 1:** `anthropic-org-<ORGANIZATION_UUID>` * **Value 1:** `true` Click **Create**. <Frame caption="An HSM-protected symmetric encrypt/decrypt key with the orga… cmek-troubleshooting Claude Developer Platform · in the page manage-claude/cmek-troubleshooting …ess-denied errors to CloudTrail. To filter them out, match all three values: * `requestParameters.encryptionContext.associatedData`: `Y21lay12YWxpZGF0aW9u` * `userIdentity.accountId`: `915198916910`… Fetch the first page (newest activities first). Claude Developer Platform · in the page manage-claude/compliance-activity-feed …pi/compliance/activities/list) for each parameter's type and accepted values. Repeatable parameters use array-bracket query syntax: pass `activity_types[]=...`, `actor_ids[]=...`, or `organization_id… WARNING: This operation PERMANENTLY deletes the chat, all of its messages, Claude Developer Platform · in the page manage-claude/compliance-content-data …d bound to the sort key, so an `after_id` issued under one `order_by` value is rejected with a 400 error under the other. Time-filter bounds must match the sort key too: pair `updated_at.*` bounds wit… compliance-errors Claude Developer Platform · in the page manage-claude/compliance-errors …ject containing `type` and `message`. Include the `request-id` header value when you escalate to support. ```json { "error": { "type": "permission_error", "message": "Missing required scope…
Feedback