Cancel a job
job_cancelCancel a queued job before it reaches the model to avoid consuming a try; running jobs retain their work and charge, while paid purchases need reconcile_purchase.
Instructions
Give up on a job. Cancelling a live test that is still QUEUED is genuinely free — nothing reached the model and no free try was consumed. Once it is running the work and the charge stand, and this tool says so instead of pretending otherwise. A buy that has already paid cannot be cancelled: use reconcile_purchase.
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": "job_cancel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | ||
| reason | No |