Get Generation Status
get_generation_statusCheck the status of an asynchronous SVG App generation.
Use after create_mascot, generate_mascot_pose, create_mascot_animation, generate_composition, create_generation, or remove_image_background returns generationId.
Do not use resources/list or resources/read for polling. MCP hosts decide how resources are included, and resources are not guaranteed to be browsed autonomously. This direct tool is the reliable polling path.
Next tool to call: if status is pending, keep using the returned placeholder-backed URL and call get_generation_status again later with the same generationId. If status is completed, the same URL redirects to the final asset. For animations, completed means the transparent WebM version is ready. If status is failed, inspect errorMessage and decide whether to retry the creation tool.
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": {
"generationId": "<generationId>"
},
"name": "get_generation_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace | No | Optional workspace id or slug from list_workspaces. Defaults to the user's personal workspace. Use the same workspace for every call in a workflow, because generations, mascots, and palettes belong to one workspace. | |
| generationId | Yes | The generationId returned by create_mascot, generate_mascot_pose, create_mascot_animation, generate_composition, create_generation, vectorize_image, or remove_image_background. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | Current async state. If pending, poll get_generation_status. If completed, call get_generated_asset. | |
| assetUrl | No | Embeddable asset URL for the generation, matching imageUrl for images and videoUrl for animations. It can be used immediately while polling continues. | |
| canvasId | No | Underlying SVG App canvas id when the generation produced an image. Kept for UI integration and background removal. | |
| imageUrl | No | Embeddable image URL. It is returned immediately, serves a frontend placeholder while pending, and redirects to the final image when ready. | |
| mimeType | No | MIME type of the final asset when known, for example image/png or video/mp4. | |
| videoUrl | No | Embeddable video URL for animation generations. It is returned immediately, serves a frontend placeholder video while pending, and redirects to the final transparent WebM video when ready. | |
| nextAction | Yes | The exact next MCP action the model/client should take for this generation. | |
| animationId | No | Underlying SVG App video generation id when the generation produced an animation. | |
| resourceUri | No | Optional MCP resource URI for clients that explicitly choose to read resources. Do not rely on resources for polling. | |
| generationId | Yes | Pass this exact id to get_generation_status until status is completed. The returned asset URL can be used immediately. |