stop_run
Cancel an in-progress sandbox run by killing and deleting its container; calling it on a finished run safely reports the final status instead of failing.
Instructions
Cancel a run in progress, killing and deleting its container.
Safe to call on a run that has already finished; it reports the status it ended with instead of failing.
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": {
"run_id": "<run_id>"
},
"name": "stop_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes |