Cancel Job
cancel_jobCancel a queued or running background job by type and ID. Returns whether cancellation succeeded; harmless for finished or unknown jobs.
Instructions
Cancel a queued or running background job by its type and id. Returns whether the cancellation succeeded. Cancelling an already-finished or unknown job is harmless. Use get_job_status first to check whether a job is still in progress.
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": {
"jobType": "<jobType>",
"jobId": "<jobId>"
},
"name": "cancel_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | Yes | The job id returned when the job was enqueued. | |
| jobType | Yes | The kind of job, as returned when the job was enqueued. |