Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

143 pages for interrupt.

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

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… legal-summarization Claude Developer Platform · in the page about-claude/use-case-guides/legal-summarization …, " "); } } void extractDocumentText() throws IOException, InterruptedException { // Download the sample sublease agreement from the Claude Cookbook's summarization recipe HttpR… 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 pitfalls, and credential handling * **Deployment constraints:** Which platforms support Managed Age… 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 …checks defined for this file type"; } catch (IOException | InterruptedException e) { return "Verification failed: " + e.getMessage(); } } ``` ```p… 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. - `resources: array of BetaManagedAgentsSessionResource` - `BetaManagedAgentsGitHubRepositoryRe… Archive Session Claude Developer Platform · in the page api/beta/sessions/archive …ile the grader scores; `satisfied`/`max_iterations_reached`/`failed`/`interrupted` are terminal. - `resources: array of BetaManagedAgentsSessionResource` - `BetaManagedAgentsGitHubRepositoryRe… Create Session Claude Developer Platform · in the page api/beta/sessions/create …ile the grader scores; `satisfied`/`max_iterations_reached`/`failed`/`interrupted` are terminal. - `resources: array of BetaManagedAgentsSessionResource` - `BetaManagedAgentsGitHubRepositoryRe… Events Claude Developer Platform · in the page api/beta/sessions/events …`). Omit to return all event types. - `"user.message"` - `"user.interrupt"` - `"user.tool_confirmation"` - `"user.custom_tool_result"` - `"agent.custom_tool_use"` - `"agent.message"`… List Events Claude Developer Platform · in the page api/beta/sessions/events/list …`). Omit to return all event types. - `"user.message"` - `"user.interrupt"` - `"user.tool_confirmation"` - `"user.custom_tool_result"` - `"agent.custom_tool_use"` - `"agent.message"`… Send Events Claude Developer Platform · in the page api/beta/sessions/events/send …odel policy. - `type: "redacted"` - `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. - `resources: array of BetaManagedAgentsSessionResource` - `BetaManagedAgentsGitHubRepositoryRe… Get Session Claude Developer Platform · in the page api/beta/sessions/retrieve …ile the grader scores; `satisfied`/`max_iterations_reached`/`failed`/`interrupted` are terminal. - `resources: array of BetaManagedAgentsSessionResource` - `BetaManagedAgentsGitHubRepositoryRe… Threads Claude Developer Platform · in the page api/beta/sessions/threads …eadEvents = BetaManagedAgentsUserMessageEvent or BetaManagedAgentsUserInterruptEvent or BetaManagedAgentsUserToolConfirmationEvent or 41 more` Server-sent event in a single thread's stream. - `B… Events Claude Developer Platform · in the page api/beta/sessions/threads/events …ing this message. format: date-time - `BetaManagedAgentsUserInterruptEvent object` An interrupt event that pauses agent execution and returns control to the user. - `type: "user.in… List Session Thread Events Claude Developer Platform · in the page api/beta/sessions/threads/events/list …ing this message. format: date-time - `BetaManagedAgentsUserInterruptEvent object` An interrupt event that pauses agent execution and returns control to the user. - `type: "user.in… 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. - `resources: array of BetaManagedAgentsSessionResource` - `BetaManagedAgentsGitHubRepositoryRe… 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… Before Claude Developer Platform · in the page api/migration-2026-10-21 …to the empty struct, such as `BetaManagedAgentsEventParamsUnion{OfUserInterrupt: &anthropic.BetaManagedAgentsUserInterruptEventParams{}}`: * `BetaManagedAgentsEventParamsOfUserInterrupt` * `B… spans Claude Developer Platform · in the page api/opentelemetry/spans …The application canceled the step, for example when it sent a [`user.interrupt`](https://platform.claude.com/docs/en/api/beta/sessions/events#beta_managed_agents_user_interrupt_event) event. A strea… anthropic-managed Claude Developer Platform · in the page build-with-claude/claude-models-on-google-cloud/anthropic-managed …ted a session, the session doesn't stop. To stop it, send it a [`user.interrupt` event](https://platform.claude.com/docs/en/managed-agents/events-and-streaming#integrating-events) by itself. After the… 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 running tools for the previous request. Relaying it as… 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 extend a previous generation from where it ended. **Migration:** Move the continuation to the user me… 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 complete. The enforced limit on total output tokens is still `max_tokens`, which truncates the response with `st… thinking Claude Developer Platform · in the page build-with-claude/thinking …and `"summarized"` its text is exactly `This part of the response was interrupted before it finished.` and you can show it like any other update. Under `"omitted"` it's empty. To continue, pass the as… sessions-connect Claude Developer Platform · in the page cli-sdks-libraries/cli/sessions-connect …ows it live as the agent works. You can also step in: send a message, interrupt the agent, or allow or deny a tool call that is waiting for approval. With `--web`, it opens the session in the Claude C… 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… event-deltas Claude Developer Platform · in the page managed-agents/event-deltas …red event. No more deltas are coming for it. If the turn errors or is interrupted, the buffered event might never arrive, but `span.model_request_end` still does. The pattern relies on two guarantees… 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 while it runs. featureMetadata: topic: title: Managed Agents url: https://platform.cl… 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 while it runs. </Card> <Card title="Supported MCP server types" icon="book" href="https://… multiagent-orchestration Claude Developer Platform · in the page managed-agents/multiagent-orchestration …reads Each agent's session thread has its own event stream. To list, interrupt, or archive threads, read their events, and handle tool permissions across them, see [Session threads](https://platform.… 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 while it runs, or interrupt it to change direction. </Step> </Ste… permission-policies Claude Developer Platform · in the page managed-agents/permission-policies …aits only until the run finishes with that thread or the run ends. An interrupt might leave it waiting, so allow or deny it yourself. 3. Send a `user.tool_confirmation` event for each blocking event,… reference Claude Developer Platform · in the page managed-agents/reference …| | `user.interrupt` | Stop the agent while it runs. It ends no [workflow run](https://platform.claude.com/docs/en/managed-agents/w… secure-deployment Claude Developer Platform · in the page managed-agents/secure-deployment …so an unattended session needs a client that answers paused calls or interrupts the session. Review each paused call before you allow it. A client that allows every call without showing it to a pers… 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)… self-hosted-sandboxes-custom-tools Claude Developer Platform · in the page managed-agents/self-hosted-sandboxes-custom-tools …") ctx, stop := signal.NotifyContext(context.Background(), os.Interrupt, syscall.SIGTERM) defer stop() getOrderStatus := toolrunner.NewBetaTool( "get_order_status",…
Feedback