comfyui_view_image
Retrieve and display a generated or uploaded image from ComfyUI, downscaled to a specified maximum size for inline viewing.
Instructions
Return an image so it can be seen inline (downscaled to max_size px).
Either pass prompt_id (+ index among its image outputs) or an explicit filename
(+ subfolder/type), e.g. to look at an uploaded input image.
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": "comfyui_view_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | output | |
| index | No | ||
| filename | No | ||
| max_size | No | ||
| prompt_id | No | ||
| subfolder | No |