Get generation
get_generationRead a generation by id: its status (queued | running | completed | failed), the CDN URLs in Assets or the text in OutputText when it is done, the error when it failed. Poll it for generations that returned queued/running. Read-only and free.
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_generation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| generation_id | Yes | Id returned by a generate_* tool. |