get_result
Look up an image-generation job by prompt_id to check if it is queued, running, completed, or failed; set return_image=true to retrieve the PNG result when available.
Instructions
用 generate 返回的 prompt_id 查询任务状态:queued / running / ok / failed / unknown(历史和队列未找到)。Look up a job by prompt_id; unknown means neither history nor queue contains it. 可用 return_image=true 取回图片内容。Use return_image=true for image content.
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": {
"prompt_id": "<prompt_id>"
},
"name": "get_result"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt_id | Yes | generate 返回的 prompt_id。The prompt_id returned by generate. | |
| return_image | No | 为 true 且图片≤2MB 时返回 PNG 内容块。Return image content when true and file is <=2MB. |