Cancel a delegated task
delegate_cancelCancel a running delegated session by its job ID to stop task execution and halt further OpenRouter credit consumption.
Instructions
Terminate a running delegated session and everything it started. Also stops it spending any more of the user's OpenRouter credits.
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": {
"job_id": "<job_id>"
},
"name": "delegate_cancel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | The job_id to cancel. |