Get image result
get_image_resultWaits for a running image generation or edit job and returns its result. Call again if the job is still running after the limited wait.
Instructions
Wait for and return the result of a job that generate_image or edit_image reported as "running". Waits for a limited time; if the result still has status "running", call this tool again.
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_result"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | The job_id returned by generate_image or edit_image. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| next | No | ||
| error | No | ||
| usage | No | ||
| images | No | ||
| job_id | No | ||
| status | Yes | ||
| elapsed_seconds | No | ||
| revised_prompts | No |