wait_for_image_project
Poll an image generation project until it completes, errors, cancels, or times out, then return the final JSON and inline image downloads for immediate use.
Instructions
Poll an image project until it completes, errors, is canceled, or times out. Returns the final project JSON and, when complete, attempts to inline image downloads for Inspector or compatible clients. Returns sanitized download fields. Use exact_download_urls[n] or downloads[n].url exactly as returned; do not shorten it, remove query parameters, or append expiration metadata.
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": {
"id": "<id>"
},
"name": "wait_for_image_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| timeout_seconds | No | ||
| max_inline_downloads | No | ||
| poll_interval_seconds | No | ||
| max_bytes_per_download | No | ||
| include_inline_downloads | No |