等待 / 获取 GPT 图片结果
get_image_jobRetrieves the status and results of an image generation job by job_id, optionally waiting a bounded time, and returns saved image paths, dimensions, previews, or failure details.
Instructions
按 job_id 查询或有界等待。完成时返回真实图片路径/尺寸及标准 MCP 图片块;失败绝不冒报成功。
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": {
"job_id": "<job_id>"
},
"name": "get_image_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | ||
| wait_seconds | No | 最多等待秒数,默认20,避免频繁空转查询 | |
| include_preview | No | true 强制预览,false 禁止预览;不填则首次完成查询预览 |