get_job
Check the status of a generation by providing its ID. Long-poll up to 300 seconds to wait for completion, receiving the finished asset when ready.
Instructions
Fetch a generation's current state, optionally long-polling for up to wait_seconds. Returns the finished asset once the state is COMPLETE.
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": {
"generation_id": "<generation_id>"
},
"name": "get_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait_seconds | No | Long-poll for up to this many seconds. 0 returns the current state immediately. | |
| generation_id | Yes |