Get task status
get_taskStatus of a generation and, once finished, the URLs of its files. Pass waitSeconds to wait for it to finish instead of polling in a loop.
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": {
"taskId": "<taskId>"
},
"name": "get_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taskId | Yes | The taskId create_generation returned. | |
| waitSeconds | No | Wait up to this many seconds for the task to finish (max 30). |