Cancel a job
video_cancelStops a queued or running job while keeping completed stages in the index for reuse.
Instructions
Stop a queued or running job. Stages that already finished stay in the index and are reused.
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": "video_cancel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | Job id to stop. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | What the job does. | |
| next | No | The call to make to keep waiting, while the job is unfinished. | |
| error | No | 'code: message — hint' when the job failed. | |
| stage | Yes | Current step: queued, download, transcribe, frames, embed or done. | |
| job_id | Yes | Pass to video_job to poll, or video_cancel to stop. | |
| result | No | When succeeded: the ingest report (video_id, counts, stages, embedding tokens, elapsed seconds) or the download report (path, codecs, size, whether audio was merged). | |
| source | Yes | The URL or path being processed. | |
| status | Yes | `interrupted` means the server restarted mid-job; ingest again to resume. | |
| message | Yes | Latest human-readable progress line. | |
| progress | Yes | Overall completion from 0 to 1, weighted by how long each stage usually takes. | |
| video_id | No | Known once the source has been resolved; use it with every other tool. | |
| cancel_requested | Yes | False when the job had already finished. |