Cancel an agent run
cancel_agent_runEnd a run with its control token. Nothing further starts, and a cancel after the end answers 409 with the real status. No API key, no account and no sign up.
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>",
"token": "<token>"
},
"name": "cancel_agent_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | The control_token returned once at creation. | |
| run_id | Yes | The run_id returned at creation; not a credential. |