comfyui_get_job
Look up a job by prompt_id to check its status across queue and history. Get a unified response with timing, outputs, and error details for queued, running, or finished jobs.
Instructions
Look up a single job by prompt_id across queue + history.
Returns a flat unified job object with top-level keys: prompt_id, status
(pending/in_progress/completed/failed/cancelled), timing fields (created_at,
started_at, completed_at, execution_duration), outputs (when completed),
and error (when failed). Use this to check on a job that may be queued,
running, or already finished.
Note: this replaces the previous /history/{prompt_id} envelope shape
(`{prompt_id: {...}}`); callers should index fields directly on the
returned object.
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": {
"prompt_id": "<prompt_id>"
},
"name": "comfyui_get_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||