350 pages for wrap.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
tools
Claude Developer Platform · in the page
managed-agents/tools
…nts/self-hosted-sandboxes-custom-tools). These can include tools that wrap an MCP server inside your network. ### Best practices for custom tool definitions * **Provide extremely detailed descriptio…
webhooks
Claude Developer Platform · in the page
managed-agents/webhooks
…, and `webhook-signature` headers. In every SDK except C#, use the `unwrap()` (csharp, go: `Unwrap()`) helper to verify the signature and parse the event in one step. It throws if the signature is inv…
workflow-runs
Claude Developer Platform · in the page
managed-agents/workflow-runs
…the run with, word for word, and not to start another run. ```text wrap Print the workflow that you started the run with, word for word, in one code block. Do not start another run. ``` </Tip>…
migration-guide
Claude Developer Platform · in the page
models/fable-5-2/migration-guide
…block back after one of those edits returns a 400 error: ```text wrap messages.5.content.0: Invalid `signature` in `thinking` block. The block is bound to a different conversation. Remove the…
whats-new-opus-5-5
Claude Developer Platform · in the page
models/opus-5-5/whats-new-opus-5-5
…"adaptive"}`, which is equivalent. The error messages are: ```text wrap "thinking.type.disabled" is not supported for this model. Use "thinking.type.adaptive" and "output_config.effort" to control…
migration-guide
Claude Developer Platform · in the page
models/sonnet-5-5/migration-guide
…onnet 5.5, `disabled` returns a 400 `invalid_request_error`: ```text wrap To turn thinking off on this model, send "thinking": {"type": "between_tools"} instead of {"type": "disabled"}. The model doe…
whats-new-sonnet-5-5
Claude Developer Platform · in the page
models/sonnet-5-5/whats-new-sonnet-5-5
…ool", "name": "..."}` returns a 400 `invalid_request_error`: ```text wrap tool_choice: type "tool" and "any" are not supported for this model. ``` `tool_choice: {"type": "auto"}` (the default) and `…
claude-fable-5
Claude Developer Platform · in the page
release-notes/system-prompts/claude-fable-5
…pp](https://anthropic.com/android). --- ## October 30, 2026 ```text wrap <claude_behavior> <product_information> Here is some information about Claude and Anthropic's products in case the person ask…
claude-fable-5-1
Claude Developer Platform · in the page
release-notes/system-prompts/claude-fable-5-1
…pp](https://anthropic.com/android). --- ## October 30, 2026 ```text wrap <claude_behavior> <product_information> Here is some information about Claude and Anthropic's products in case the person ask…
claude-fable-5-2
Claude Developer Platform · in the page
release-notes/system-prompts/claude-fable-5-2
…pp](https://anthropic.com/android). --- ## November 9, 2026 ```text wrap <claude_behavior> <product_information> Here is some information about Claude and Anthropic's products in case the person ask…
claude-haiku-3
Claude Developer Platform · in the page
release-notes/system-prompts/claude-haiku-3
…d app](https://anthropic.com/android). --- ## July 12, 2024 ```text wrap The assistant is Claude, created by Anthropic. The current date is {{currentDateTime}}. Claude's knowledge base was last upda…
claude-haiku-3-5
Claude Developer Platform · in the page
release-notes/system-prompts/claude-haiku-3-5
…anthropic.com/android). --- ## October 22, 2024 Text only: ```text wrap The assistant is Claude, created by Anthropic. The current date is {{currentDateTime}}. Claude's knowledge base was last upda…
claude-haiku-4-5
Claude Developer Platform · in the page
release-notes/system-prompts/claude-haiku-4-5
…rked with `**` around the changed text. ## October 23, 2026 ```text wrap <claude_behavior> <product_information> Here is some information about Claude and Anthropic's products in case the person ask…
claude-haiku-5-5
Claude Developer Platform · in the page
release-notes/system-prompts/claude-haiku-5-5
…pp](https://anthropic.com/android). --- ## October 26, 2026 ```text wrap <claude_behavior> When a question is about the person or their world, Claude checks the `<memory_listing>` before answering f…
claude-opus-3
Claude Developer Platform · in the page
release-notes/system-prompts/claude-opus-3
…d app](https://anthropic.com/android). --- ## July 12, 2024 ```text wrap The assistant is Claude, created by Anthropic. The current date is {{currentDateTime}}. Claude's knowledge base was last upda…
claude-opus-4
Claude Developer Platform · in the page
release-notes/system-prompts/claude-opus-4
…app](https://anthropic.com/android). --- ## August 5, 2025 ```text wrap The assistant is Claude, created by Anthropic. The current date is {{currentDateTime}}. Here is some information about Clau…
claude-opus-4-1
Claude Developer Platform · in the page
release-notes/system-prompts/claude-opus-4-1
…app](https://anthropic.com/android). --- ## August 5, 2025 ```text wrap The assistant is Claude, created by Anthropic. The current date is {{currentDateTime}}. Here is some information about Clau…
claude-opus-4-5
Claude Developer Platform · in the page
release-notes/system-prompts/claude-opus-4-5
…rked with `**` around the changed text. ## January 18, 2026 ```text wrap <claude_behavior> <product_information> Here is some information about Claude and Anthropic's products in case the person ask…
claude-opus-4-6
Claude Developer Platform · in the page
release-notes/system-prompts/claude-opus-4-6
…pp](https://anthropic.com/android). --- ## October 30, 2026 ```text wrap <claude_behavior> <product_information> This iteration of Claude is Claude Opus 4.6, the most advanced model in the Claude 4.…
claude-opus-4-7
Claude Developer Platform · in the page
release-notes/system-prompts/claude-opus-4-7
…pp](https://anthropic.com/android). --- ## October 30, 2026 ```text wrap <claude_behavior> <product_information> This iteration of Claude is Claude Opus 4.7. The Claude 4.7 family currently consists…
claude-opus-4-8
Claude Developer Platform · in the page
release-notes/system-prompts/claude-opus-4-8
…pp](https://anthropic.com/android). --- ## October 30, 2026 ```text wrap <claude_behavior> <product_information> Here is some information about Claude and Anthropic's products in case the person ask…
claude-opus-5
Claude Developer Platform · in the page
release-notes/system-prompts/claude-opus-5
…pp](https://anthropic.com/android). --- ## October 30, 2026 ```text wrap <claude_behavior> <product_information> Here is some information about Claude and Anthropic's products in case the person ask…
claude-opus-5-5
Claude Developer Platform · in the page
release-notes/system-prompts/claude-opus-5-5
…pp](https://anthropic.com/android). --- ## October 27, 2026 ```text wrap <claude_behavior> <product_information> Here is some information about Claude and Anthropic's products in case the person ask…
claude-sonnet-3-5
Claude Developer Platform · in the page
release-notes/system-prompts/claude-sonnet-3-5
…` around the changed text. ## November 22, 2024 Text only: ```text wrap The assistant is Claude, created by Anthropic. The current date is {{currentDateTime}}. Claude's knowledge base was last up…
claude-sonnet-3-7
Claude Developer Platform · in the page
release-notes/system-prompts/claude-sonnet-3-7
…p](https://anthropic.com/android). --- ## February 24, 2025 ```text wrap The assistant is Claude, created by Anthropic. The current date is {{currentDateTime}}. Claude enjoys helping humans and se…
claude-sonnet-4
Claude Developer Platform · in the page
release-notes/system-prompts/claude-sonnet-4
…app](https://anthropic.com/android). --- ## August 5, 2025 ```text wrap The assistant is Claude, created by Anthropic. The current date is {{currentDateTime}}. Here is some information about Clau…
claude-sonnet-4-5
Claude Developer Platform · in the page
release-notes/system-prompts/claude-sonnet-4-5
…rked with `**` around the changed text. ## January 18, 2026 ```text wrap <claude_behavior> <product_information> Here is some information about Claude and Anthropic's products in case the person ask…
claude-sonnet-4-6
Claude Developer Platform · in the page
release-notes/system-prompts/claude-sonnet-4-6
…pp](https://anthropic.com/android). --- ## October 14, 2026 ```text wrap <claude_behavior> <product_information> Here is some information about Claude and Anthropic's products in case the person ask…
claude-sonnet-5
Claude Developer Platform · in the page
release-notes/system-prompts/claude-sonnet-5
…pp](https://anthropic.com/android). --- ## October 30, 2026 ```text wrap <claude_behavior> <product_information> Here is some information about Claude and Anthropic's products in case the person ask…
claude-sonnet-5-5
Claude Developer Platform · in the page
release-notes/system-prompts/claude-sonnet-5-5
…pp](https://anthropic.com/android). --- ## October 27, 2026 ```text wrap <claude_behavior> <product_information> Here is some information about Claude and Anthropic's products in case the person ask…
increase-consistency
Claude Developer Platform · in the page
test-and-evaluate/strengthen-guardrails/increase-consistency
…dion title="Example: Standardizing customer feedback"> ```text User wrap You're a Customer Insights AI. Analyze this feedback and output in JSON format with keys: "sentiment" (positive/negative/ne…
mitigate-jailbreaks
Claude Developer Platform · in the page
test-and-evaluate/strengthen-guardrails/mitigate-jailbreaks
…xample: Harmlessness screen for content moderation"> ```text User wrap A user submitted this content: <content> {{CONTENT}} </content> Classify whether this content refers to…
reduce-hallucinations
Claude Developer Platform · in the page
test-and-evaluate/strengthen-guardrails/reduce-hallucinations
…="Example: Analyzing a merger and acquisition report"> ```text User wrap As our M&A advisor, analyze this report on the potential acquisition of AcmeCo by ExampleCorp. <report> {{REPORT}} <…
reduce-prompt-leak
Claude Developer Platform · in the page
test-and-evaluate/strengthen-guardrails/reduce-prompt-leak
…laude-prompting-best-practices#give-claude-a-role). ```text System wrap You are AnalyticsBot, an AI assistant that uses our proprietary EBITDA formula: EBITDA = Revenue - COGS - (SG&A - Stock C…
Set up Claude Code for your organization
Claude Code CLI · in the page
admin-setup
…quired corporate launcher instead of turning agent view off | `processWrapper` | | [Model restrictions](https://code.claude.com/docs/en/model-config.md#restrict-model-selection) | `availableModels` fi…
How the agent loop works
Claude Code CLI · in the page
agent-sdk/agent-loop
…e, `message.type === "result"`). `AssistantMessage` and `UserMessage` wrap the raw API message in a `.message` field, so content blocks are at `message.message.content`, not `message.content`. > [acc…
Configure your agent
Claude Code CLI · in the page
agent-sdk/configuration
…e-shot `query()`**: the SDK yields the cap result and then raises, so wrap the loop in a try block to continue past the error * **Streaming input**: the session stays alive past a cap result, and the…
Give Claude custom tools
Claude Code CLI · in the page
agent-sdk/custom-tools
…ional](#make-a-parameter-optional). | | Register a tool with Claude | Wrap in `create_sdk_mcp_server` / `createSdkMcpServer` and pass to `mcpServers` in `query()`. See [Call a custom tool](#call-a-cus…
Hosting the Agent SDK
Claude Code CLI · in the page
agent-sdk/hosting
…session files on disk. Hosting it is not like hosting a stateless API wrapper. Every running agent is a long-lived process tied to local state, which shapes how you allocate resources, persist session…
Modifying system prompts
Claude Code CLI · in the page
agent-sdk/modifying-system-prompts
…ook in the `messages` array. A reminder appears inside a user message wrapped in `<system-reminder>` tags or, on some models, as a separate message with the `system` role. ## Compare the four approac…
Observability with OpenTelemetry
Claude Code CLI · in the page
agent-sdk/observability
…an inspect in your tracing backend: * **`claude_code.interaction`:** wraps a single turn of the agent loop, from receiving a prompt to producing a response. * **`claude_code.llm_request`:** wraps eac…
Agent SDK reference - Python
Claude Code CLI · in the page
agent-sdk/python
…/ `async with` fragments on this page are illustrative. To run them, wrap the body in `async def main(): ...` and call `asyncio.run(main())`. ### `query()` Creates a new session for each interactio…
Securely deploying AI agents
Claude Code CLI · in the page
agent-sdk/secure-deployment
…in. **How it works:** * **Filesystem**: Uses OS primitives (`bubblewrap` on Linux, `sandbox-exec` on macOS) to restrict read/write access to configured paths * **Network**: Runs commands in their o…
Extend agents with skills
Claude Code CLI · in the page
agent-sdk/skills
…gent-loop.md#handle-the-result). If your command might hit the limit, wrap the loop in a `try`/`catch` in TypeScript or `try`/`except` in Python, as shown in [Single Message Input](https://code.claude…
Stream responses in real-time
Claude Code CLI · in the page
agent-sdk/streaming-output
…ial messages are enabled, you receive raw Claude API streaming events wrapped in an object. The type has different names in each SDK: * **Python**: [`StreamEvent`](https://code.claude.com/docs/en/age…
Streaming Input
Claude Code CLI · in the page
agent-sdk/streaming-vs-single-mode
…includes the failure text after yielding the final result message, so wrap the loop in a try block if your code needs to continue. See [Handle the result](https://code.claude.com/docs/en/agent-sdk/age…
Subagents in the SDK
Claude Code CLI · in the page
agent-sdk/subagents
…directly via `message.content`. In TypeScript, `SDKAssistantMessage` wraps the Claude API message, so you access content via `message.message.content`. This example iterates through streamed message…
Track todos
Claude Code CLI · in the page
agent-sdk/todo-tracking
…n error that includes `Reached maximum number of turns`. Each example wraps its loop in a try block to exit cleanly when that happens. See [Handle the result](https://code.claude.com/docs/en/agent-sdk…
Scale to many tools with tool search
Claude Code CLI · in the page
agent-sdk/tool-search
…` call, the SDK raises after yielding an error result, so the example wraps the loop in a try block. To see why a run failed, check the result message's `subtype`, such as `error_during_execution`, in…
Troubleshoot the Agent SDK
Claude Code CLI · in the page
agent-sdk/troubleshooting
…han a `ResultError`. ### Claude Code process exited with code N IDE wrappers print this message too, and the [error reference](https://code.claude.com/docs/en/errors.md#claude-code-process-exited-wi…