get_preview
Retrieve a preview thumbnail for a generated image after generation completes. Pass an image ID or omit it to get the last image, returning an inline thumbnail and the full-size path.
Instructions
Retrieve a preview (thumbnail) of a generated image. Use this after generate_image completes — especially useful for FLUX.2-dev background generations where the MCP client timed out. Pass the image_id from generate_image output, or omit to get the last generated image. Returns the thumbnail inline and the full-size image path.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image_id | No | Image ID returned by generate_image (e.g. '20250126_143052_42'). Omit to get the last generated image. |