Interrupt Command
sandbox_interrupt_commandStop a running background command in a sandbox by specifying the sandbox and command IDs; the interrupted process ends with a non-zero exit code.
Instructions
Stop a running background command. The command ends with a non-zero exit code.
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": {
"sandbox_id": "<sandbox_id>",
"command_id": "<command_id>"
},
"name": "sandbox_interrupt_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command_id | Yes | command_id returned by sandbox_run_command | |
| sandbox_id | Yes | ID of the target sandbox |