get_job_status
Check an image-generation job's state and progress, optionally waiting up to 45 seconds for it to finish. Use it to track queued GPU jobs by job ID.
Instructions
Return the state and progress of a job.
With wait_seconds > 0 the call returns when the job ends or the time passes.
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": "get_job_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | ||
| wait_seconds | No | Wait up to this time for the end. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| step | Yes | ||
| error | No | ||
| stage | Yes | ||
| state | Yes | ||
| job_id | Yes | ||
| message | No | ||
| percent | Yes | ||
| warnings | Yes | ||
| elapsed_s | Yes | ||
| next_step | No | ||
| total_steps | Yes | ||
| queue_position | Yes |