Get task status
get_taskRead a task's status to retrieve generated asset URLs on success or an error code and message on failure, and poll with backoff until completion.
Instructions
Read one task. status: waiting | generating | success | fail. On success, output contains the asset URLs; on fail, error contains a code and message. Poll with backoff (for example 5s, then 10s, then 20s) instead of a tight 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 | taskId returned by create_task. |