view_image
View generated ComfyUI images by retrieving them from Preview Image or Save Image nodes as base64; specify a node ID and image index, or use defaults.
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 |