Interrupt running work
interrupt_agentStops running agent work on a sandbox, either across all conversations or for a specified conversation only. Use it to halt active tasks without affecting other conversations.
Instructions
Interrupt running work. Interrupt running agent work. By default this stops every conversation on the sandbox. Pass conversation to stop just one, leaving the others running. See Integrated agents.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sandboxId": "<sandboxId>"
},
"name": "interrupt_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sandboxId | Yes | Public Sandbox id returned by create/list/get sandbox calls. | |
| conversation | No | Interrupt only this conversation id. Omit to interrupt the whole sandbox. |