cancel_job
Stop a running OCR job or delete a completed job’s results after human confirmation; pages already processed remain charged, so check job status afterward.
Instructions
Stop a running job, or delete the result of a finished one (DELETE /v1/jobs/{id}). You are asked to set human_confirmed=true only after the human agreed (the server cannot check it). Pages already read stay charged; check job_status afterwards.
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 | from submit_job | |
| human_confirmed | No | true only after the human agreed to cancel |