Get Generate Image Job
get-generate-image-jobCheck an image generation job started by generate-image. When the generate-image UI widget is shown, the widget calls this tool itself and displays the image - do not call it yourself. Only when no widget is shown, pass the jobId returned by generate-image. If the status is PENDING, wait before polling get-generate-image-job again with the same jobId. Continue polling until the status is SUCCESS or FAILURE. Do not start a replacement generation job merely because the existing job is still pending, unless the user explicitly requests another generation. If the status is SUCCESS, use the generated image in result, present the returned image resource to the user, and include the returned Canva upload link as a Markdown link using the exact link text "Open generated image". The link opens the generated image in Canva, not the Canva editor. If the status is SUCCESS but the response says the image link is not ready yet, wait and call this tool again with the same jobId. Never finish a successful image-generation request without including the returned "Open generated image" link in the user-facing response, even when an inline image preview is visible. If the status is FAILURE, stop polling and explain the failure using failureType and failureMessage.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | Yes | The jobId returned by the tool that started the job. | |
| user_intent | No | Mandatory description of what the user is trying to accomplish with this tool call. This should always be provided by LLM clients. Please keep it concise (255 characters or less recommended). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | ||
| status | Yes | PENDING while the job is still running, then SUCCESS or FAILURE. | |
| failureType | No | Why the job failed. Only present when status is FAILURE. | |
| failureMessage | No | Human-readable failure detail. Only present when status is FAILURE. |