Search the documentation
50 pages for interrupt.
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.
Or, for the model with the same capabilities and no access approval requirement:
Claude Developer Platform · in the page
about-claude/models/migration-guide
…thout prefill should be sufficient. * **Continuations** (resuming interrupted responses): Move the continuation to the user message: "Your previous response was interrupted and ended with `[previo…
claude-api-skill
Claude Developer Platform · in the page
agents-and-tools/agent-skills/claude-api-skill
…s:** Lossless stream reconnect, `processed_at` queued/processed gate, interrupt handling, file-mount gotchas, and credential handling * **Deployment constraints:** Managed Agents is available on the C…
bash-tool
Claude Developer Platform · in the page
agents-and-tools/tool-use/bash-tool
…toString(); } void restart() throws IOException, InterruptedException { process.destroyForcibly(); process.waitFor(); start();…
code-execution-tool
Claude Developer Platform · in the page
agents-and-tools/tool-use/code-execution-tool
…to let Claude continue its turn, or modify the content if you want to interrupt the conversation. ## Containers The code execution tool runs in a secure, containerized environment designed specifica…
computer-use-tool
Claude Developer Platform · in the page
agents-and-tools/tool-use/computer-use-tool
…``` ```java Java void clickAndWait(int x, int y) throws InterruptedException { clickAndWait(x, y, 500); } void clickAndWait(int x, int y, long waitTimeMillis) thro…
memory-tool
Claude Developer Platform · in the page
agents-and-tools/tool-use/memory-tool
…gress, record status / progress / thoughts etc in your memory. ASSUME INTERRUPTION: Your context window might be reset at any moment, so you risk losing any progress that is not recorded in your memor…
text-editor-tool
Claude Developer Platform · in the page
agents-and-tools/tool-use/text-editor-tool
…No checks defined for this file type"; } catch (IOException | InterruptedException e) { return "Verification failed: " + e.getMessage(); } } ``` ```php PHP…
Batches
Claude Developer Platform · in the page
api/beta/messages/batches
…ng` state, at which time the system may complete any in-progress, non-interruptible requests before finalizing cancellation. The number of canceled requests is specified in `request_counts`. To deter…
Cancel a Message Batch
Claude Developer Platform · in the page
api/beta/messages/batches/cancel
…ng` state, at which time the system may complete any in-progress, non-interruptible requests before finalizing cancellation. The number of canceled requests is specified in `request_counts`. To deter…
Sessions
Claude Developer Platform · in the page
api/beta/sessions
…ile the grader scores; `satisfied`/`max_iterations_reached`/`failed`/`interrupted` are terminal. - `type: "outcome_evaluation"` - `resources: array of BetaManagedAgentsSessionResource` -…
Archive Session
Claude Developer Platform · in the page
api/beta/sessions/archive
…ile the grader scores; `satisfied`/`max_iterations_reached`/`failed`/`interrupted` are terminal. - `type: "outcome_evaluation"` - `resources: array of BetaManagedAgentsSessionResource` -…
Create Session
Claude Developer Platform · in the page
api/beta/sessions/create
…ile the grader scores; `satisfied`/`max_iterations_reached`/`failed`/`interrupted` are terminal. - `type: "outcome_evaluation"` - `resources: array of BetaManagedAgentsSessionResource` -…
Events
Claude Developer Platform · in the page
api/beta/sessions/events
…n RFC 3339 format format: date-time - `BetaManagedAgentsUserInterruptEvent object` An interrupt event that pauses agent execution and returns control to the user. - `id: string`…
List Events
Claude Developer Platform · in the page
api/beta/sessions/events/list
…n RFC 3339 format format: date-time - `BetaManagedAgentsUserInterruptEvent object` An interrupt event that pauses agent execution and returns control to the user. - `id: string`…
Send Events
Claude Developer Platform · in the page
api/beta/sessions/events/send
…"redacted"` - `type: "user.message"` - `BetaManagedAgentsUserInterruptEventParams object` Parameters for sending an interrupt to pause the agent. - `type: "user.interrupt"` - `…
Stream Events
Claude Developer Platform · in the page
api/beta/sessions/events/stream
…es the complete content. A model request that ends early (an error or interrupt) produces no final event — its terminal `span.model_request_end` closes the preview. Accepts one or more event types to…
List Sessions
Claude Developer Platform · in the page
api/beta/sessions/list
…ile the grader scores; `satisfied`/`max_iterations_reached`/`failed`/`interrupted` are terminal. - `type: "outcome_evaluation"` - `resources: array of BetaManagedAgentsSessionResource` -…
Get Session
Claude Developer Platform · in the page
api/beta/sessions/retrieve
…ile the grader scores; `satisfied`/`max_iterations_reached`/`failed`/`interrupted` are terminal. - `type: "outcome_evaluation"` - `resources: array of BetaManagedAgentsSessionResource` -…
Threads
Claude Developer Platform · in the page
api/beta/sessions/threads
…eadEvents = BetaManagedAgentsUserMessageEvent or BetaManagedAgentsUserInterruptEvent or BetaManagedAgentsUserToolConfirmationEvent or 34 more` Server-sent event in a single thread's stream. - `B…
Events
Claude Developer Platform · in the page
api/beta/sessions/threads/events
…n RFC 3339 format format: date-time - `BetaManagedAgentsUserInterruptEvent object` An interrupt event that pauses agent execution and returns control to the user. - `id: string`…
List Session Thread Events
Claude Developer Platform · in the page
api/beta/sessions/threads/events/list
…n RFC 3339 format format: date-time - `BetaManagedAgentsUserInterruptEvent object` An interrupt event that pauses agent execution and returns control to the user. - `id: string`…
Stream Session Thread Events
Claude Developer Platform · in the page
api/beta/sessions/threads/events/stream
…es the complete content. A model request that ends early (an error or interrupt) produces no final event — its terminal `span.model_request_end` closes the preview. Accepts one or more event types to…
Update Session
Claude Developer Platform · in the page
api/beta/sessions/update
…ile the grader scores; `satisfied`/`max_iterations_reached`/`failed`/`interrupted` are terminal. - `type: "outcome_evaluation"` - `resources: array of BetaManagedAgentsSessionResource` -…
errors
Claude Developer Platform · in the page
api/errors
…issues by allowing you to poll for results rather than requiring an uninterrupted network connection. If you are building a direct API integration, setting a [TCP socket keep-alive](https://tldp.org/…
Batches
Claude Developer Platform · in the page
api/messages/batches
…ng` state, at which time the system may complete any in-progress, non-interruptible requests before finalizing cancellation. The number of canceled requests is specified in `request_counts`. To deter…
Cancel a Message Batch
Claude Developer Platform · in the page
api/messages/batches/cancel
…ng` state, at which time the system may complete any in-progress, non-interruptible requests before finalizing cancellation. The number of canceled requests is specified in `request_counts`. To deter…
mid-conversation-effort-example
Claude Developer Platform · in the page
build-with-claude/mid-conversation-effort-example
…ndbox: example code only. ToolOutput runBash(String command) throws InterruptedException { System.err.println("[bash] " + command); Process process; try { process = new P…
mid-conversation-system-messages
Claude Developer Platform · in the page
build-with-claude/mid-conversation-system-messages
…oken budget dropped below a threshold. * **User input that should not interrupt an agentic loop.** A user types a follow-up while Claude is still executing tools for the previous request. Relaying it…
claude-prompting-best-practices
Claude Developer Platform · in the page
build-with-claude/prompt-engineering/claude-prompting-best-practices
…ations"> Prefills were used to continue partial completions, resume interrupted responses, or pick up where a previous generation left off. **Migration:** Move the continuation to the user messag…
skills-guide
Claude Developer Platform · in the page
build-with-claude/skills-guide
…to let Claude continue its turn, or modify the content if you want to interrupt the conversation and provide additional guidance. </Note> ### Using multiple Skills Combine multiple Skills in a singl…
streaming
Claude Developer Platform · in the page
build-with-claude/streaming
…4.5 models and earlier, you can recover a streaming request that was interrupted because of network issues, timeouts, or other errors by resuming from where the stream was interrupted. This approach…
task-budgets
Claude Developer Platform · in the page
build-with-claude/task-budgets
…if it is in the middle of an action that would be more disruptive to interrupt than to finish. The enforced limit on total output tokens is still `max_tokens`, which truncates the response with `stop…
budgets
Claude Developer Platform · in the page
managed-agents/budgets
…onfirmation` * `user.tool_result` * `user.custom_tool_result` * `user.interrupt` Any event that would start new work, such as `user.message`, is rejected with a 400 error naming this list. Settled re…
DCF Model Rubric
Claude Developer Platform · in the page
managed-agents/define-outcomes
…import com.anthropic.models.beta.sessions.events.BetaManagedAgentsUserInterruptEventParams; import com.anthropic.models.beta.sessions.events.EventSendParams; import com.anthropic.models.files.File…
events-and-streaming
Claude Developer Platform · in the page
managed-agents/events-and-streaming
…/events-and-streaming description: Send events, stream responses, and interrupt or redirect your session mid-execution. --- Communication with Claude Managed Agents is event-based. You send user even…
mcp-connector
Claude Developer Platform · in the page
managed-agents/mcp-connector
…-agents/events-and-streaming"> Send events, stream responses, and interrupt or redirect your session mid-execution. </Card> <Card title="Supported MCP server types" icon="book" href="https://…
multiagent-orchestration
Claude Developer Platform · in the page
managed-agents/multiagent-orchestration
…containing one is rejected with a 400 validation error. A failed or interrupted consultation never fails the agent's turn: the agent continues after a generic notice that the consultation failed. A…
overview
Claude Developer Platform · in the page
managed-agents/overview
…r-side and can be fetched in full. </Step> <Step title="Steer or interrupt"> Send additional user events to guide the agent mid-execution, or interrupt it to change direction. </Step> </Ste…
permission-policies
Claude Developer Platform · in the page
managed-agents/permission-policies
…-agents/events-and-streaming"> Send events, stream responses, and interrupt or redirect your session mid-execution. </Card> </CardGroup>
reference
Claude Developer Platform · in the page
managed-agents/reference
…| | `user.interrupt` | Stop the agent mid-execution.…
spawn.sh: called once per claimed work item
Claude Developer Platform · in the page
managed-agents/self-hosted-sandboxes
…ctx, stop := signal.NotifyContext(context.Background(), os.Interrupt, syscall.SIGTERM) defer stop() client := anthropic.NewClient(option.WithAuthToken(environmentKey)…
session-operations
Claude Developer Platform · in the page
managed-agents/session-operations
…gent. To update the agent while the session is running, send a [`user.interrupt` event](https://platform.claude.com/docs/en/managed-agents/events-and-streaming#integrating-events) by itself and wait f…
sessions
Claude Developer Platform · in the page
managed-agents/sessions
…_result`) aren't accepted because no agent turn exists yet, and `user.interrupt` isn't accepted because there is no turn to stop. Unlike `initial_events` on a scheduled deployment, a session's `initia…
tools
Claude Developer Platform · in the page
managed-agents/tools
…-agents/events-and-streaming"> Send events, stream responses, and interrupt or redirect your session mid-execution. </Card> </CardGroup>
webhooks
Claude Developer Platform · in the page
managed-agents/webhooks
…lures`. The trigger is how long the endpoint has been failing without interruption, not a delivery count. A single `2xx` resets the window, so one flaky event can't disable the endpoint. All three…
Sonnet migration
Claude Developer Platform · in the page
models/sonnet-5/migration-guide
…thout prefill should be sufficient. * **Continuations** (resuming interrupted responses): Move the continuation to the user message: "Your previous response was interrupted and ended with `[previo…
claude-fable-5
Claude Developer Platform · in the page
release-notes/system-prompts/claude-fable-5
…e sensation or imagery of self-harm reinforce the pattern rather than interrupt it. When someone describes a past harmful experience with crisis services or mental-health care, Claude acknowledges it…
How the agent loop works
Claude Code CLI · in the page
agent-sdk/agent-loop
…No | | `error_during_execution` | An error interrupted the loop (for example, an API failure or cancelled request)…
Intercept and control agent behavior with hooks
Claude Code CLI · in the page
agent-sdk/hooks
…k instead of letting them propagate, since an unhandled exception can interrupt the agent. This example sends a webhook after each tool completes, logging which tool ran and when. The hook catches er…
Agent SDK reference - Python
Claude Code CLI · in the page
agent-sdk/python
…| ✅ Supported | | **Interrupts** | ❌ Not supported | ✅ Supported | | **Hooks** |…