Get a job's result, or list jobs
get_generation_statusWith job_id: waits up to 25 s for the job, then answers; call again at once while it runs. A finished cover job shows each cover with a download link (1 hour). A finished wrap job gives the wrapId, preview and PDF links, and layout warnings. Without job_id: lists the workspace's jobs, newest first, with the credits each used (source "web" = spent in the app). Free.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_generation_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | List only: page size (default 20). | |
| cursor | No | List only: next_cursor of the previous page. | |
| job_id | No | The jobId. Omit to list jobs. | |
| status | No | List only: this status. | |
| operation | No | List only: this operation. | |
| wait_seconds | No | Wait for a running job (default 25; 0 answers at once). | |
| include_images | No | Show finished covers inline (default true). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobs | No | The list, when no job_id was sent. | |
| wrap | No | Present on a completed wrap job. | |
| error | No | ||
| jobId | No | ||
| covers | No | Present on a completed cover job. | |
| source | No | api: this server or the API. web: the web app; its result stays there. | |
| status | No | queued, processing, completed or failed. | |
| operation | No | ||
| created_at | No | ||
| started_at | No | ||
| next_cursor | No | ||
| completed_at | No | ||
| credits_used | No |