Job status
job_statusCheck the current status and progress percentage of a queued ffmpeg job, with states queued, running, done, failed, or cancelled.
Instructions
Check how a queued job is progressing.
Returns one of queued, running, done, failed or cancelled, with a progress percentage parsed from ffmpeg's own output. Poll this after queueing work, then call job_result once the status is 'done'.
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": "job_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | Job id returned when the work was queued. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | ||
| error | No | ||
| job_id | Yes | ||
| status | Yes | ||
| command | No | Resolved ffmpeg command line, once the job starts. | |
| message | No | ||
| progress | Yes | Percentage complete, 0-100. | |
| elapsed_seconds | No |