get_image_task
Check an image task's queue, progress, failure, or success status, retry transient query failures up to three times, and optionally save successful images without resubmitting the task.
Instructions
查询 NOT_START(排队)/IN_PROGRESS/FAILURE/SUCCESS;暂时性查询故障最多尝试3次。save=true 时成功图片自动落盘;false 仅查询。不重新提交。
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": {
"task_id": "<task_id>"
},
"name": "get_image_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save | No | ||
| task_id | Yes | ||
| output_dir | No | 可选绝对输出目录;默认配置目录。异步任务查询默认沿用提交目录。 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cost | No | ||
| note | No | ||
| files | No | ||
| group | No | ||
| usage | No | ||
| reused | No | ||
| status | Yes | ||
| task_id | No | ||
| warning | No | ||
| progress | No | ||
| response | No | ||
| next_tool | No | ||
| output_dir | No | ||
| fail_reason | No | ||
| save_status | No | ||
| wait_timed_out | No | ||
| download_errors | No | ||
| idempotency_key | No | ||
| auto_poll_interval | No |