cancel_run
Cancel an active agent run, ending it permanently. Use when a run must be stopped and cannot be resumed.
Instructions
Cancel the active run (terminal, cannot resume).
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": {
"id": "<id>",
"runId": "<runId>"
},
"name": "cancel_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Agent id | |
| runId | Yes | Run id |