view_image
View images generated by ComfyUI workflows. Retrieve an image from a Preview or Save Image node as base64 output.
Instructions
View an image from a Preview Image or Save Image node. Returns the image as base64 so you can see it. Run the workflow first to generate images.
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": "view_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_id | No | ID of the Preview Image or Save Image node. If not provided, uses the first image node found. | |
| image_index | No | Which image to view if node has multiple (0-based). Default: 0 |