Source Intelligence
Sweep 28 Aug 2026 ยท 16:06Z Build v2.1.251 479 read Stable v2.1.236 Latest v2.1.250 Next v2.1.251 Feeds RSS JSON llms.txt

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

Search the documentation

50 pages for refuse.

Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it. Cut at 50, so a narrower query shows the rest.

glossary Claude Developer Platform · in the page about-claude/glossary …asked to aid in a dangerous or unethical act, the AI should politely refuse and explain why it cannot comply. ## Latency Latency, in the context of generative AI and large language models, refers t… Or, for the model with the same capabilities and no access approval requirement: Claude Developer Platform · in the page about-claude/models/migration-guide …he full set. You are not billed for the input tokens of a request refused before any output is generated. When a classifier fires mid-stream, the input and already-streamed output are billed; disc… optimizing-for-cost-and-intelligence Claude Developer Platform · in the page about-claude/models/optimizing-for-cost-and-intelligence …task, 3 runs (August 2 to 3, 2026), scored on tasks no configuration refused. Claude Opus 4.6 judges under the benchmark's rubric protocol; the original uses a different judge, and an Anthropic judge… Edit docker-compose.yaml: increment the integer in the setup service's Claude Developer Platform · in the page agents-and-tools/mcp-tunnels/deploy-compose …example, --token-version=1 to # --token-version=2). The setup binary refuses to rotate when the value # hasn't changed. # export TUNNEL_ID=tnl_... # set only if you set it during install export AN… browser-use-tool Claude Developer Platform · in the page agents-and-tools/tool-use/browser-use-tool …`, treat a URL without a scheme as `https://`, then parse the URL and refuse any scheme other than `http` or `https` (`javascript:`, `file:`, `data:`, `chrome:`, and so on) with an [error result](http… memory-tool Claude Developer Platform · in the page agents-and-tools/tool-use/memory-tool …s are your responsibility: ### Sensitive information Claude usually refuses to write sensitive information to memory files. For stronger guarantees, add validation that strips sensitive data before… troubleshooting-tool-use Claude Developer Platform · in the page agents-and-tools/tool-use/troubleshooting-tool-use …---------------------------------------------------------- | | Claude refuses to act on a tool result, or asks the user to confirm instructions that came from it | Your own instructions are being deli… Beta Claude Developer Platform · in the page api/beta …rom a prior refusal's `stop_details`. When a preceding request was refused and returned a `fallback_credit_token`, pass that code here on the retry to have the retry's cache-creation tokens for… Messages Claude Developer Platform · in the page api/beta/messages …rom a prior refusal's `stop_details`. When a preceding request was refused and returned a `fallback_credit_token`, pass that code here on the retry to have the retry's cache-creation tokens for… Batches Claude Developer Platform · in the page api/beta/messages/batches …a prior refusal's `stop_details`. When a preceding request was refused and returned a `fallback_credit_token`, pass that code here on the retry to have the retry's cache-creation tokens… Create a Message Batch Claude Developer Platform · in the page api/beta/messages/batches/create …a prior refusal's `stop_details`. When a preceding request was refused and returned a `fallback_credit_token`, pass that code here on the retry to have the retry's cache-creation tokens… Retrieve Message Batch results Claude Developer Platform · in the page api/beta/messages/batches/results …Opaque code that refunds the cache-miss cost when retrying this refused request on the fallback model. Pass it as `fallback_credit_token` on the retry request. Expires 5… Create a Message Claude Developer Platform · in the page api/beta/messages/create …rom a prior refusal's `stop_details`. When a preceding request was refused and returned a `fallback_credit_token`, pass that code here on the retry to have the retry's cache-creation tokens for… fallback-credit Claude Developer Platform · in the page build-with-claude/fallback-credit …escription: Avoid paying the prompt-cache cost twice when you retry a refused Claude Fable 5 request on another model. --- Prompt caches are per-model. When Claude Fable 5 declines a request and you… handling-stop-reasons Claude Developer Platform · in the page build-with-claude/handling-stop-reasons …stop_details` is `null` for all stop reasons other than `refusal`. A refused request on Claude Fable 5 or Claude Opus 5 can usually be served by retrying on another Claude model, and [Refusals and fa… mid-conversation-effort-example Claude Developer Platform · in the page build-with-claude/mid-conversation-effort-example …ts launched across the whole session, not just per Workflow call, and refuse to exceed a hard cap so a runaway plan cannot exhaust your quota. The patterns in this example (the mode reminders, standi… overview Claude Developer Platform · in the page build-with-claude/overview …| Avoid paying the prompt-cache cost twice when you retry a refused request on another model. The refusal carries a credit token, and echoing it on the retry bills the retry as though the co… refusals-and-fallback Claude Developer Platform · in the page build-with-claude/refusals-and-fallback …Fable 5 and Claude Opus 5 return classifier refusals and how to retry refused requests on a fallback model. --- Claude Fable 5 and Claude Opus 5 include safety classifiers that can decline a request.… search-results Claude Developer Platform · in the page build-with-claude/search-results …ect and handle refusal stop reasons in streaming responses, and retry refused requests on a fallback model. </Card> <Card title="Citations" icon="book" href="https://platform.claude.com/docs/en/b… structured-outputs Claude Developer Platform · in the page build-with-claude/structured-outputs …helpfulness properties even when using structured outputs. If Claude refuses a request for safety reasons: * The response has `stop_reason: "refusal"` * You'll receive a 200 status code * You'll be… thinking Claude Developer Platform · in the page build-with-claude/thinking …ith-claude/fallback-credit): * Fallback-credit retries must echo the refused request body unchanged. * `fallback` blocks from a mid-output fallback stay where they appeared. To get visibility into t… vision Claude Developer Platform · in the page build-with-claude/vision …ed](https://www.anthropic.com/legal/aup) to name people in images and refuses to do so. * **Accuracy:** Claude might hallucinate or make mistakes when interpreting low-quality, rotated, or very small… inference-hooks-endpoint Claude Developer Platform · in the page manage-claude/inference-hooks-endpoint …ly routable host (private, loopback, and carrier-grade NAT ranges are refused at connect time), with a certificate that validates against the public CA trust store, responding without redirects. The c… agent-setup Claude Developer Platform · in the page managed-agents/agent-setup …ed, new sessions can't be created from the agent and running sessions refuse further turns; pins are never exempted, because workspaces rely on them for compliance and data residency. Setting `infere… memory Claude Developer Platform · in the page managed-agents/memory …tore directories are not scratch space there: the worker's file tools refuse to write to them, and anything a shell command writes there is never synced to a store. For a `read_only` store, the wor… spawn.sh: called once per claimed work item Claude Developer Platform · in the page managed-agents/self-hosted-sandboxes …ypeScript, `AllowedRoots` in Go), and `write` and `edit` additionally refuse paths under `read_only_roots` (`readOnlyRoots`, `ReadOnlyRoots`). `EnvironmentWorker` adds the session's memory store direc… self-hosted-sandboxes-security Claude Developer Platform · in the page managed-agents/self-hosted-sandboxes-security …d, not from local modification. The worker's `write` and `edit` tools refuse to write under its directory, nothing there syncs back, and the memory store endpoints reject writes to it made with the se… introducing-claude-fable-5-and-claude-mythos-5 Claude Developer Platform · in the page models/fable-5/introducing-claude-fable-5-and-claude-mythos-5 …s and handling guidance. ### Fallback A request that Claude Fable 5 refuses can usually be served by another Claude model. There are three ways to retry: * **Server-side:** Pass the `fallbacks` par… Or, for the model with the same capabilities and no access approval requirement: Claude Developer Platform · in the page models/fable-5/migration-guide …he full set. You are not billed for the input tokens of a request refused before any output is generated. When a classifier fires mid-stream, the input and already-streamed output are billed; disc… Opus migration Claude Developer Platform · in the page models/opus-5/migration-guide …e cyber-category refusals can fall back to Claude Opus 4.8. To re-run refused requests on another model automatically, consider the `fallbacks` parameter with the `"default"` mode (`fallbacks: "defaul… Sonnet migration Claude Developer Platform · in the page models/sonnet-5/migration-guide …ests that involve prohibited or high-risk cybersecurity topics may be refused. Refusals return as a successful HTTP 200 response with `stop_reason: "refusal"`, not an error. See [Real-time cyber safeg… whats-new-sonnet-5 Claude Developer Platform · in the page models/sonnet-5/whats-new-sonnet-5 …ests that involve prohibited or high-risk cybersecurity topics may be refused. Refusals return as a successful HTTP 200 response with `stop_reason: "refusal"`, not an error. See [Real-time cyber safeg… overview Claude Developer Platform · in the page release-notes/overview …PI returns `stop_reason: "refusal"`. You are not billed for a request refused before any output is generated. An opt-in `fallbacks` parameter (in beta on the Claude API and Claude Platform on AWS; not… claude-fable-5 Claude Developer Platform · in the page release-notes/system-prompts/claude-fable-5 …ing a request to make it appropriate, that reframing is the signal to REFUSE, not a reason to proceed with the request. - For content directed at a minor, Claude MUST NOT supply unstated assumptions t… claude-haiku-4-5 Claude Developer Platform · in the page release-notes/system-prompts/claude-haiku-4-5 …ude steers away from malicious or harmful use cases for cyber. Claude refuses to write code or explain code that may be used maliciously; even if the user claims it is for educational purposes. When w… claude-opus-4 Claude Developer Platform · in the page release-notes/system-prompts/claude-opus-4 …ude steers away from malicious or harmful use cases for cyber. Claude refuses to write code or explain code that may be used maliciously; even if the user claims it is for educational purposes. When w… claude-opus-4-1 Claude Developer Platform · in the page release-notes/system-prompts/claude-opus-4-1 …ude steers away from malicious or harmful use cases for cyber. Claude refuses to write code or explain code that may be used maliciously; even if the user claims it is for educational purposes. When w… claude-opus-4-7 Claude Developer Platform · in the page release-notes/system-prompts/claude-opus-4-7 …ing a request to make it appropriate, that reframing is the signal to REFUSE, not a reason to proceed with the request. - For content directed at a minor, Claude MUST NOT supply unstated assumptions t… claude-opus-4-8 Claude Developer Platform · in the page release-notes/system-prompts/claude-opus-4-8 …ing a request to make it appropriate, that reframing is the signal to REFUSE, not a reason to proceed with the request. - For content directed at a minor, Claude MUST NOT supply unstated assumptions t… claude-opus-5 Claude Developer Platform · in the page release-notes/system-prompts/claude-opus-5 …ing a request to make it appropriate, that reframing is the signal to REFUSE, not a reason to proceed with the request. - For content directed at a minor, Claude MUST NOT supply unstated assumptions t… claude-sonnet-4 Claude Developer Platform · in the page release-notes/system-prompts/claude-sonnet-4 …ude steers away from malicious or harmful use cases for cyber. Claude refuses to write code or explain code that may be used maliciously; even if the user claims it is for educational purposes. When w… claude-sonnet-4-5 Claude Developer Platform · in the page release-notes/system-prompts/claude-sonnet-4-5 …ude steers away from malicious or harmful use cases for cyber. Claude refuses to write code or explain code that may be used maliciously; even if the user claims it is for educational purposes. When w… handle-streaming-refusals Claude Developer Platform · in the page test-and-evaluate/strengthen-guardrails/handle-streaming-refusals …ect and handle refusal stop reasons in streaming responses, and retry refused requests on a fallback model. --- Starting with Claude 4 models, streaming responses from Claude's API return **`stop_rea… mitigate-jailbreaks Claude Developer Platform · in the page test-and-evaluate/strengthen-guardrails/mitigate-jailbreaks …ethical and legal boundaries, and that explicitly tell Claude how to refuse. <Accordion title="Example: Ethical system prompt for an enterprise chatbot"> ```text System wrap You are AcmeCo… Set up Claude Code for your organization Claude Code CLI · in the page admin-setup …don't need to restart the app after deploying it. If a device still refuses WSL sessions, open **Help > Troubleshooting > Show Logs in Explorer** in Claude Desktop on that device, which saves a copy… Agent SDK reference - Python Claude Code CLI · in the page agent-sdk/python …ose turn a `resume_session_at` truncation discards. When set, the CLI refuses the resume if the discarded range holds entries not attributable to that turn. Requires Python Agent SDK 0.2.137 or later… Subagents in the SDK Claude Code CLI · in the page agent-sdk/subagents …nting every subagent Claude spawns with the Agent tool | Refuses to spawn another subagent, returning `Concurrent subagent limit reached`, until the running count drops below the limit. S… Agent SDK reference - TypeScript Claude Code CLI · in the page agent-sdk/typescript …UID of the turn the truncating resume intends to discard. Claude Code refuses the resume when the discarded range contains anything not attributable to that turn, such as absorbed queued messages or t… Manage multiple agents with agent view Claude Code CLI · in the page agent-view …pository directory itself rather than a worktree. In agent view, a refused delete shows `not deleted` with the reason on the session's row. Push the commits, merge them into that default branch, or… Configure auto mode Claude Code CLI · in the page auto-mode-config …-safety-of-an-action), because a safety check separate from auto mode refused the classifier's own request or its response didn't parse, Claude Code denies the action without recording it under **Rece…