Check Generation Status
check_generation_statusCheck if a background image generation has finished and get a short JSON status. Use it after generating an image to show the result, wait for completion, or report failures.
Instructions
Check whether a background image generation has finished.
Call this after generate_image to wait for completion.
Returns a short JSON status — no image data, no heavy UI.
"completed"→ callshow_image(uri=original_uri)to display the finished image."generating"→ wait and check again."failed"→ report the error to the user.
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": {
"image_id": "<image_id>"
},
"name": "check_generation_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image_id | Yes | The ``image_id`` returned by ``generate_image``. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |