Cancel a job
cancel_jobStop a queued or running job to avoid charges; finished jobs remain unaffected.
Instructions
Stop a queued or running job. A cancelled job is not charged; one that had already finished is left as it is.
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": "cancel_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | The job to stop. |