Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.322 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

989 pages for note.

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

sent_count = len(messages sent in the compaction request) Claude Developer Platform · in the page build-with-claude/compaction …s token counts reflect the effective context size after compaction. <Note> The top-level `input_tokens` and `output_tokens` do not include compaction iteration usage. They reflect the sum of all no… compaction-threshold Claude Developer Platform · in the page build-with-claude/compaction-threshold …betaHeader: compact-2026-01-12 zdr: eligibility: eligible note: Excludes [Covered Models](https://platform.claude.com/docs/en/manage-claude/api-and-data-retention#model-specific-data-reten… context-editing Claude Developer Platform · in the page build-with-claude/context-editing …r: context-management-2025-06-27 zdr: eligibility: eligible note: Excludes [Covered Models](https://platform.claude.com/docs/en/manage-claude/api-and-data-retention#model-specific-data-reten… context-windows Claude Developer Platform · in the page build-with-claude/context-windows …billed as input tokens, like the rest of the conversation history. <Note> You can read more about the context window and thinking in the [Thinking](https://platform.claude.com/docs/en/build-with-c… effort Claude Developer Platform · in the page build-with-claude/effort …eatureMetadata: status: stable zdr: eligibility: eligible note: Excludes [Covered Models](https://platform.claude.com/docs/en/manage-claude/api-and-data-retention#model-specific-data-reten… effort-per-message Claude Developer Platform · in the page build-with-claude/effort-per-message …Amazon Bedrock (bedrock-runtime): availability: beta note: Send the beta value in the `anthropic_beta` array of the request body. Claude Platform on AWS: beta Claude Models on… This will automatically use the environment variable VOYAGE_API_KEY. Claude Developer Platform · in the page build-with-claude/embeddings …eved_id = np.argmax(similarities) print(documents[retrieved_id]) ``` Note that `input_type="document"` and `input_type="query"` are used for embedding the document and query, respectively. For more a… fallback-credit Claude Developer Platform · in the page build-with-claude/fallback-credit …Claude API: beta Amazon Bedrock: availability: beta note: On Amazon Bedrock and Google Cloud the token is bound to your caller identity (there are no workspaces), and `allowed_fallba… fast-mode Claude Developer Platform · in the page build-with-claude/fast-mode …betaHeader: fast-mode-2026-02-01 zdr: eligibility: eligible note: Excludes [Covered Models](https://platform.claude.com/docs/en/manage-claude/api-and-data-retention#model-specific-data-reten… files Claude Developer Platform · in the page build-with-claude/files …reMetadata: status: stable zdr: eligibility: not-eligible note: Files retained until explicitly deleted or they reach their configured expiration. supportedModels: - claude-fable-5-2… handling-stop-reasons Claude Developer Platform · in the page build-with-claude/handling-stop-reasons …oup> ### tool\_use Claude is calling a tool that you need to run. <Note> For most tool use implementations, use the [tool runner](https://platform.claude.com/docs/en/agents-and-tools/tool-use/too… message-threads Claude Developer Platform · in the page build-with-claude/message-threads …: message-threads-2026-08-12 zdr: eligibility: not-eligible note: A thread's contents (the conversation, system prompt, and tools) are held in memory, encrypted under a server-managed key, n… mid-conversation-effort-example Claude Developer Platform · in the page build-with-claude/mid-conversation-effort-example …and run a workflow for every substantive task without asking first. <Note> This example uses mid-conversation system messages; for the models and platforms that support them, see [Mid-conversation… mid-conversation-system-messages Claude Developer Platform · in the page build-with-claude/mid-conversation-system-messages …eatureMetadata: status: stable zdr: eligibility: eligible note: Excludes [Covered Models](https://platform.claude.com/docs/en/manage-claude/api-and-data-retention#model-specific-data-reten… multilingual-support Claude Developer Platform · in the page build-with-claude/multilingual-support …re in the table, at most 1.7 percent of the questions are excluded. <Note> Use the table to compare languages within a model, not to rank models. Differences of less than about 1 percentage point a… pdf-support Claude Developer Platform · in the page build-with-claude/pdf-support …eatureMetadata: status: stable zdr: eligibility: eligible note: Excludes [Covered Models](https://platform.claude.com/docs/en/manage-claude/api-and-data-retention#model-specific-data-reten… preserved-thinking Claude Developer Platform · in the page build-with-claude/preserved-thinking …g stays valid and the prompt cache still hits, with the one exception noted later in this section. For example, to withdraw a dangerous tool after a mode switch: ```json { "role": "system", "con… Request 2 caches its request content (not the response) Claude Developer Platform · in the page build-with-claude/prompt-caching …or 1-hour TTLs. featureMetadata: zdr: eligibility: eligible note: Excludes [Covered Models](https://platform.claude.com/docs/en/manage-claude/api-and-data-retention#model-specific-data-reten… claude-prompting-best-practices Claude Developer Platform · in the page build-with-claude/prompt-engineering/claude-prompting-best-practices …tions, and examples. This improves performance across all models. <Note> Queries at the end can improve response quality by up to 30 percent in tests, especially with complex, multidocument inp… overview Claude Developer Platform · in the page build-with-claude/prompt-engineering/overview …s and guidance. <CardGroup cols={2}> <Card title="Prompt generator notebook" icon="link" href="https://colab.research.google.com/github/anthropics/claude-cookbooks/blob/main/misc/metaprompt.ipynb">… prompting-claude-fable-5 Claude Developer Platform · in the page build-with-claude/prompt-engineering/prompting-claude-fable-5 …lowing patterns cover the behaviors that most often require tuning. <Note> For how thinking works on Claude Fable 5 and Claude Mythos 5 (adaptive thinking only, summarized-only thinking output, no… Delivering work Claude Developer Platform · in the page build-with-claude/prompt-engineering/prompting-claude-fable-5-1 …prompting-claude-fable-5-1#give-vision-work-tools-to-crop-and-zoom) <Note> Claude Fable 5.1 runs safety classifiers and can return `stop_reason: "refusal"`. See [Refusals and fallback](https://plat… Finishing work Claude Developer Platform · in the page build-with-claude/prompt-engineering/prompting-claude-fable-5-2 …e/prompt-engineering/prompting-claude-fable-5-2#safeguard-refusals) <Note> For the order in which to apply this guidance when you migrate, see [Where to start](https://platform.claude.com/docs/en/b… prompting-claude-haiku-5-5 Claude Developer Platform · in the page build-with-claude/prompt-engineering/prompting-claude-haiku-5-5 …e/prompt-engineering/prompting-claude-haiku-5-5#safeguard-refusals) <Note> For the breaking API changes when migrating from Claude Haiku 4.5, see the [Claude Haiku 5.5 migration guide](https://plat… prompting-claude-opus-4-8 Claude Developer Platform · in the page build-with-claude/prompt-engineering/prompting-claude-opus-4-8 …lowing patterns cover the behaviors that most often require tuning. <Note> For the API parameter changes since Claude Opus 4.7 (1M context window default and mid-conversation system messages), see… prompting-claude-opus-5-5 Claude Developer Platform · in the page build-with-claude/prompt-engineering/prompting-claude-opus-5-5 …mpt-engineering/prompting-claude-opus-5-5#frontend-design-defaults) <Note> For the four breaking API changes when migrating from Claude Opus 5, see the [Claude Opus 5.5 migration guide](https://pla… prompting-claude-sonnet-5 Claude Developer Platform · in the page build-with-claude/prompt-engineering/prompting-claude-sonnet-5 …w removed. Use adaptive thinking with the effort parameter instead. <Note> If you are running Claude Sonnet 5 at `high`, `xhigh`, or `max` effort, leave headroom in `max_tokens` so the model has ro… prompting-claude-sonnet-5-5 Claude Developer Platform · in the page build-with-claude/prompt-engineering/prompting-claude-sonnet-5-5 …/prompt-engineering/prompting-claude-sonnet-5-5#safeguard-refusals) <Note> For the five breaking API changes when migrating from Claude Sonnet 5, see the [Claude Sonnet 5.5 migration guide](https:/… refusals-and-fallback Claude Developer Platform · in the page build-with-claude/refusals-and-fallback …`trace` field in JSON output or in a tool input * The model’s private notes, or a running log of its reasoning * Reasoning asked for verbatim or in full The wording can sit in a system prompt, a skil… search-results Claude Developer Platform · in the page build-with-claude/search-results …eatureMetadata: status: stable zdr: eligibility: eligible note: Excludes [Covered Models](https://platform.claude.com/docs/en/manage-claude/api-and-data-retention#model-specific-data-reten… skills-guide Claude Developer Platform · in the page build-with-claude/skills-guide …ou how to use both pre-built and custom Skills with the Claude API. <Note> For complete API reference including request/response schemas and all parameters, see: * [Skill management API referenc… streaming Claude Developer Platform · in the page build-with-claude/streaming …Amazon Bedrock (bedrock-runtime): availability: stable note: Amazon Bedrock's `bedrock-runtime` endpoint does not stream plain server-sent events. Claude Platform on AWS: stable… structured-outputs Claude Developer Platform · in the page build-with-claude/structured-outputs …atureMetadata: status: stable zdr: eligibility: qualified note: "Excludes [Covered Models](https://platform.claude.com/docs/en/manage-claude/api-and-data-retention#model-specific-data-rete… task-budgets Claude Developer Platform · in the page build-with-claude/task-budgets …nal to pace itself and finish gracefully as the budget is consumed. <Note> **The countdown is visible only to the model.** API responses do not include a remaining-budget field: there is no `task_b… thinking Claude Developer Platform · in the page build-with-claude/thinking …eatureMetadata: status: stable zdr: eligibility: eligible note: Excludes [Covered Models](https://platform.claude.com/docs/en/manage-claude/api-and-data-retention#model-specific-data-reten… thinking-steering-and-cost Claude Developer Platform · in the page build-with-claude/thinking-steering-and-cost …r-message steering, and understand thinking's cost and pricing. --- <Note> To learn how zero data retention (ZDR) applies to this feature, see [API and data retention](https://platform.claude.com/d… thinking-tool-workflows Claude Developer Platform · in the page build-with-claude/thinking-tool-workflows …s correctly, and see how interleaved thinking changes the flow. --- <Note> To learn how zero data retention (ZDR) applies to this feature, see [API and data retention](https://platform.claude.com/d… thinking-troubleshooting Claude Developer Platform · in the page build-with-claude/thinking-troubleshooting …r missing thinking blocks, max_tokens stops, and cache misses." --- <Note> To learn how zero data retention (ZDR) applies to this feature, see [API and data retention](https://platform.claude.com/d… token-counting Claude Developer Platform · in the page build-with-claude/token-counting …eatureMetadata: status: stable zdr: eligibility: eligible note: Excludes [Covered Models](https://platform.claude.com/docs/en/manage-claude/api-and-data-retention#model-specific-data-reten… vision Claude Developer Platform · in the page build-with-claude/vision …aude API: stable Amazon Bedrock: availability: stable note: Only base64 image sources; per-image limit 5 MB (base64-encoded) and a lower total request size. Amazon Bedrock (bedrock… vision-coordinates Claude Developer Platform · in the page build-with-claude/vision-coordinates …ion](https://platform.claude.com/docs/en/build-with-claude/vision). <Note> **Claude works best with absolute pixel coordinates.** Ask for them explicitly in your prompt. For example: *“Return the b… working-with-messages Claude Developer Platform · in the page build-with-claude/working-with-messages …eatureMetadata: status: stable zdr: eligibility: eligible note: Excludes [Covered Models](https://platform.claude.com/docs/en/manage-claude/api-and-data-retention#model-specific-data-reten… API usage primer for Claude Claude Developer Platform · in the page claude_api_primer …max_tokens": 1` to get a single multiple choice answer from Claude. <Note> Claude 4.6 and later models and Claude Mythos Preview do not support assistant message prefill; requests to those models m… apply Claude Developer Platform · in the page cli-sdks-libraries/cli/apply …agers: true ``` </File> <File filename="memory_stores/review-notes.yaml"> ```yaml # yaml-language-server: $schema=https://platform.claude.com/schemas/ant/beta/memory_store.json na… On a remote host without a browser: Claude Developer Platform · in the page cli-sdks-libraries/cli/authentication …tication-status) to confirm which profile and workspace are active. <Note> An `ANTHROPIC_API_KEY` or `ANTHROPIC_AUTH_TOKEN` in your environment takes precedence over every profile (see [Credential… quickstart Claude Developer Platform · in the page cli-sdks-libraries/cli/quickstart …ut creating or managing an API key. ```bash CLI ant auth login ``` <Note> For other ways to authenticate (API key environment variable, headless hosts, multiple workspaces, named profiles, and Wor… using Claude Developer Platform · in the page cli-sdks-libraries/cli/using …-model '{id: claude-opus-5-5}' \ --transform id --raw-output) ``` <Note> `--raw-output` is distinct from `--format raw`. `--raw-output` strips JSON quotes from string results, like `jq -r`. `--fo… apple-foundation-models Claude Developer Platform · in the page cli-sdks-libraries/libraries/apple-foundation-models …e’s on-device model: pass whichever model you want to each session. <Note> **Beta.** This package targets the Foundation Models server-side language model API introduced in the OS 27 betas. APIs mi… openai-sdk Claude Developer Platform · in the page cli-sdks-libraries/libraries/openai-sdk …onnet-4-5-20250929 supportedPlatforms: Claude API: stable --- <Note> This compatibility layer is primarily intended to test and compare model capabilities, and is not considered a long-term o… csharp Claude Developer Platform · in the page cli-sdks-libraries/sdks/csharp …ed or not yet supported parts of the API. ## Platform integrations <Note> For detailed platform setup guides with code examples, see: * [Amazon Bedrock (`bedrock-mantle`)](https://platform.clau…
Feedback