Cancel Job
cancel_jobCancel a running or queued Beaker job by task ID. Provide a reason for cancellation; stopping any part of a job cancels the entire job and records the reason in its history.
Instructions
Cancel a running or queued Beaker job.
Note: cancelling any part of a job (recipe, recipe set) cancels the entire job. The reason is recorded in the job history.
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": {
"task_id": "<task_id>"
},
"name": "cancel_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Reason for cancellation. | Cancelled via MCP |
| task_id | Yes | Task ID to cancel (e.g. 'J:12345', 'RS:4321'). Cancelling any part cancels the entire job. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |