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

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.

claude-prompting-best-practices Claude Developer Platform · in the page build-with-claude/prompt-engineering/claude-prompting-best-practices …an analytics dashboard" defaultOpen> **Less effective:** ```text wrap Create an analytics dashboard ``` **More effective:** ```text wrap Create an analytics dashboard. Include as many… prompting-claude-fable-5 Claude Developer Platform · in the page build-with-claude/prompt-engineering/prompting-claude-fable-5 …p Claude Fable 5 from overplanning when a task is ambiguous: ```text wrap When you have enough information to act, act. Do not re-derive facts already established in the conversation, re-litigate a d… Delivering work Claude Developer Platform · in the page build-with-claude/prompt-engineering/prompting-claude-fable-5-1 …ing text from the model and what each update should contain: ```text wrap Before you start, say in a line what you're about to do; brief updates while you work help the user follow along. Close with… Finishing work Claude Developer Platform · in the page build-with-claude/prompt-engineering/prompting-claude-fable-5-2 …ops in your agent, add text like this to your system prompt: ```text wrap # Finishing work Please avoid stopping while you still owe work the user asked for. Be persistent and do not stop unless need… prompting-claude-haiku-5-5 Claude Developer Platform · in the page build-with-claude/prompt-engineering/prompting-claude-haiku-5-5 …te in the system prompt or in the search tool’s description: ```text wrap The current date is {{current_date}}. ``` Render the date once, when the conversation starts, and send the same `system` and… prompting-claude-opus-4-8 Claude Developer Platform · in the page build-with-claude/prompt-engineering/prompting-claude-opus-4-8 …rompts. As an example, to decrease verbosity, you might add: ```text wrap Provide concise, focused responses. Skip non-essential context, and keep examples minimal. ``` If you see specific examples… prompting-claude-opus-5 Claude Developer Platform · in the page build-with-claude/prompt-engineering/prompting-claude-opus-5 …ffective. For example, for a user-facing multi-turn product: ```text wrap Keep responses focused, brief, and concise. Keep disclaimers and caveats short, and spend most of the response on the main an… prompting-claude-opus-5-5 Claude Developer Platform · in the page build-with-claude/prompt-engineering/prompting-claude-opus-5-5 …that a run that is genuinely stuck ends and can be reviewed. ```text wrap Your task list still has open items: migrate the remaining two endpoints and update their tests. Continue with them. If one i… prompting-claude-sonnet-5 Claude Developer Platform · in the page build-with-claude/prompt-engineering/prompting-claude-sonnet-5 …rompts. As an example, to decrease verbosity, you might add: ```text wrap Provide concise, focused responses. Skip non-essential context, and keep examples minimal. ``` If you see specific kinds of… prompting-claude-sonnet-5-5 Claude Developer Platform · in the page build-with-claude/prompt-engineering/prompting-claude-sonnet-5-5 …ing without changing effort, add this to your system prompt: ```text wrap Keep working until everything the user asked for is done, and only stop to ask when you can't go on without the user or befor… refusals-and-fallback Claude Developer Platform · in the page build-with-claude/refusals-and-fallback …laude.com/docs/en/cli-sdks-libraries/middleware): the SDK helper that wraps all of this * [Fallback and billing recipe](https://platform.claude.com/cookbook/fable-5-fallback-billing-guide): a worked e… streaming Claude Developer Platform · in the page build-with-claude/streaming …and an instruction to continue, for example: ```text Sample prompt wrap Your previous response was interrupted and ended with [previous_response]. Continue from where you left off. ``` 3. **R… structured-outputs Claude Developer Platform · in the page build-with-claude/structured-outputs …arsed_output`. The previous example outputs: ```text Output wrap name='John Smith' email='[email protected]' plan_interest='Enterprise' demo_requested=True ``` </Tab> <Tab title=… thinking Claude Developer Platform · in the page build-with-claude/thinking …nse carries the summarized thinking, then the answer: ```text Output wrap Thinking: Use Euclidean algorithm. 1071 = 2*462 + 147 462 = 3*147 + 21 147 = 7*21 + 0 GCD = 21 Response: ## Finding GCD of 1… thinking-steering-and-cost Claude Developer Platform · in the page build-with-claude/thinking-steering-and-cost …s, add guidance such as the following to your system prompt: ```text wrap Extended thinking adds latency and should only be used when it will meaningfully improve answer quality, typically for proble… thinking-troubleshooting Claude Developer Platform · in the page build-with-claude/thinking-troubleshooting …ted The request fails with a 400 error whose message reads: ```text wrap "thinking.type.enabled" is not supported for this model. Use "thinking.type.adaptive" and "output_config.effort" to control t… vision-coordinates Claude Developer Platform · in the page build-with-claude/vision-coordinates …tandard-tier model but fits within the high-resolution tier: ```text wrap messages.0.content.0: image dimensions 1920x1080 exceed the maximum image size of a model named on this request and would be… API usage primer for Claude Claude Developer Platform · in the page claude_api_primer …tool use, streaming, thinking, and nothing else. ## Models ```text wrap Recommended default for most work, including complex agentic coding: Claude Opus 5.5: claude-opus-5-5 Step up for the hardest… apply Claude Developer Platform · in the page cli-sdks-libraries/cli/apply …t apply` prints the plan and waits for your approval: ```text Output wrap First apply ./claude-lock.json does not exist yet and will be created Resources will be created with credentials API ke… quickstart Claude Developer Platform · in the page cli-sdks-libraries/cli/quickstart …-message '{role: user, content: "Hello, Claude"}' ``` ```text Output wrap { "model": "claude-opus-5-5", "id": "msg_01YMmR5XodC5nTqMxLZMKaq6", "type": "message", "role": "assistant", "conten… scripting Claude Developer Platform · in the page cli-sdks-libraries/cli/scripting …--raw-output \ --format auto ``` ```text Output wrap Summarize the benefits of type safety in one sentence. Type safety catches errors at compile time rather than runtime… using Claude Developer Platform · in the page cli-sdks-libraries/cli/using …ow a `resource action` pattern. Nested resources use colons: ```text wrap ant <resource>[:<subresource>] <action> [flags] ``` Run `ant --help` for the full resource list, or append `--help` to any s… go Claude Developer Platform · in the page cli-sdks-libraries/sdks/go …ays 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 `anthropic.String(string)` or `anthro… get-started Claude Developer Platform · in the page get-started …bash python quickstart.py ``` ```text Output wrap Here are some effective search strategies to find the latest developments in renewable energy: ## General Se… access-transparency-log Claude Developer Platform · in the page manage-claude/access-transparency-log …and ends with a base64 value. Values here are illustrative: ```text wrap axt.anthropic.com/25f6429a-3293-49bf-afed-cb312911554b 1207 C6C4HzGRqDNlbu54LWCvpDX0NcB5DRTmLcjM4u5vWUI= — axt.anthropic.com… First request Claude Developer Platform · in the page manage-claude/claude-code-analytics-api …-Agent header to help Anthropic understand usage patterns: ```text wrap User-Agent: YourApp/1.0.0 (https://example.com) ``` </Tip> ## Claude Code Analytics API Track Claude Code usage, produc… cmek Claude Developer Platform · in the page manage-claude/cmek …eed). The key operations Anthropic performs against your key (such as wrapping and unwrapping data keys) do not appear in the Compliance API; they appear in your cloud provider's audit logs. Anthropi… cmek-azure-key-vault Claude Developer Platform · in the page manage-claude/cmek-azure-key-vault …ersion. Under **Permitted operations**, clear every checkbox except **Wrap Key** and **Unwrap Key**. Click **Save**. <Frame caption="Restrict permitted operations to Wrap Key and Unwrap Key.… cmek-claude-platform-on-aws Claude Developer Platform · in the page manage-claude/cmek-claude-platform-on-aws …ements. This one allows every workspace in your AWS account: ```text wrap "ArnLike": {"aws:SourceArn": "arn:aws:aws-external-anthropic:*:<AWS_ACCOUNT_ID>:workspace/*"} ``` For specific workspaces, l… cmek-google-cloud-kms Claude Developer Platform · in the page manage-claude/cmek-google-cloud-kms …ION_UUID>`) and grant access to Anthropic’s service account: ```text wrap anthropic-cmek-client-us@gcp-anthropic-cmek-clients.iam.gserviceaccount.com ``` Use only this address, never one sent by ema… cmek-how-it-works Claude Developer Platform · in the page manage-claude/cmek-how-it-works …covers, when it takes effect, and what you can see. --- ## Your key wraps the keys that encrypt your data Anthropic encrypts your stored data with data keys. With customer-managed encryption keys (… cmek-troubleshooting Claude Developer Platform · in the page manage-claude/cmek-troubleshooting …team. ## Requests fail after setup ### `cmek_key_disabled` ```text wrap Customer-managed encryption key is disabled or revoked. Re-enable the key to restore access. ``` This 400 error means your k… compliance-errors Claude Developer Platform · in the page manage-claude/compliance-errors …ompliance API not enabled **Type:** `invalid_request_error` ```text wrap Compliance API is not enabled for this organization ``` **Cause:** The key is valid, but the Compliance API is not enabled f… plugins-api Claude Developer Platform · in the page manage-claude/plugins-api …p` or `.plugin` archive, or a set of individual files. An archive may wrap everything in one top-level folder. * It must contain exactly one manifest, at `.claude-plugin/plugin.json`, which must decla… spend-limits-api Claude Developer Platform · in the page manage-claude/spend-limits-api …otation: repeat the parameter name with `[]` for each value. ```text wrap user_ids[]=user_01AbCdEfGh&user_ids[]=user_01JkLmNoPq ``` ## Error responses Error responses follow the standard shape docu… usage-cost-analytics-api Claude Developer Platform · in the page manage-claude/usage-cost-analytics-api …-Agent header to help Anthropic understand usage patterns: ```text wrap User-Agent: YourApp/1.0.0 (https://yourapp.com) ``` </Tip> ## How results are shaped * **Every row has three parts:** `… First request Claude Developer Platform · in the page manage-claude/usage-cost-api …-Agent header to help Anthropic understand usage patterns: ```text wrap User-Agent: YourApp/1.0.0 (https://yourapp.com) ``` </Tip> ## Usage API Track token consumption across your organizatio… gcp Claude Developer Platform · in the page manage-claude/wif-providers/gcp …`format=full` so the response carries the `email` claim: ```text wrap GET http://metadata.google.internal/computeMetadata/v1/instance/service-accounts/default/identity?audience=https://api.an… github-actions Claude Developer Platform · in the page manage-claude/wif-providers/github-actions …the Anthropic token’s lifetime, rerun the fetch step periodically (or wrap it in a background loop) to keep the file current. Alternatively, except in Java, pass the SDK a token provider that calls `A… kubernetes Claude Developer Platform · in the page manage-claude/wif-providers/kubernetes …s of the returned `keys` array (not the surrounding `{"keys": [...]}` wrapper): ```json { "name": "onprem-k8s", "issuer_url": "https://kubernetes.default.svc.cluster.local", "jwks": { "type… wif-reference Claude Developer Platform · in the page manage-claude/wif-reference …t. Nested objects are accessible as nested maps. | Example: ```text wrap claims.sub.startsWith("repo:acme-corp/") && claims.ref in ["refs/heads/main", "refs/heads/release"] ``` <Warning> CEL cond… workspaces Claude Developer Platform · in the page manage-claude/workspaces …ts "Workspace ID: #{workspace_id}" ``` </CodeGroup> ```text Output wrap Workspace ID: wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ ``` The same accessors read the header from other Claude API endpoints too, in… event-deltas Claude Developer Platform · in the page managed-agents/event-deltas …ce, interleaved with the connection’s other buffered events: ```text wrap event_start {"event": {"type": "agent.message", "id": "sevt_01abc..."}} event_delta {"event_id": "sevt_01abc...", "de… multiagent-orchestration Claude Developer Platform · in the page managed-agents/multiagent-orchestration …stration#turn-on-dynamic-workflows) uses this system prompt: ```text wrap You review contracts. When you're asked to review more than a few contracts, start a workflow run that reads them in parallel… quickstart Claude Developer Platform · in the page managed-agents/quickstart …put file was created. Your output looks similar to this: ```text wrap I'll create a Python script that generates the first 20 Fibonacci numbers and saves them to a file. [Using tool: writ… reference Claude Developer Platform · in the page managed-agents/reference …b title="Span events"> Span events are observability markers that wrap activity for timing and usage tracking. | Type | Description… spawn.sh: called once per claimed work item Claude Developer Platform · in the page managed-agents/self-hosted-sandboxes …CP server inside your network without running a tunnel, you can also [wrap the server as custom tools](https://platform.claude.com/docs/en/managed-agents/self-hosted-sandboxes#wrap-an-mcp-server-as-cu… self-hosted-sandboxes-custom-tools Claude Developer Platform · in the page managed-agents/self-hosted-sandboxes-custom-tools …escription: Serve custom tools from a self-hosted sandbox worker, and wrap an MCP server inside your network as custom tools without running a tunnel. featureMetadata: topic: title: Managed Agen… self-hosted-sandboxes-operations Claude Developer Platform · in the page managed-agents/self-hosted-sandboxes-operations …gents/self-hosted-sandboxes-custom-tools#serve-a-custom-tool). ### A wrapped MCP tool call hangs Without a timeout on the MCP client, a hung call to a [wrapped MCP server](https://platform.claude.co… self-hosted-sandboxes-workers Claude Developer Platform · in the page managed-agents/self-hosted-sandboxes-workers …int]: try: event = client.beta.webhooks.unwrap(raw.decode(), headers=headers) except standardwebhooks.WebhookVerificationError: return {"error":…
Feedback