cancel_extraction
Cancel a queued or running extraction job to release held credits. Queued jobs stop at once; running jobs stop after the current step and cost nothing.
Instructions
Cancel one job. A queued job stops at once; a running job stops after its current step. Credits held for a cancelled job are released. A cancelled job keeps no results and costs nothing. Safe to repeat; a job that already finished is left as it is. Returns the job record with its new status.
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_extraction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | Job id: job.id from create_extraction, job_id from extract_now, or an id listed by list_extractions, get_batch, get_schedule or get_plan. |