cancel_run
Terminates an active run and marks its tasks as cancelled, halting background subagent work when it is no longer needed.
Instructions
Cancel an active run and mark its tasks cancelled.
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": "cancel_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | ||
| run_id | Yes |