comfy_get_output_image
Retrieve a generated image from ComfyUI's output directory using its filename and optional subfolder, returning it as an image content block for direct use.
Instructions
Download an output image from ComfyUI and return it as an image content block.
Args: filename: Image filename (e.g. "ComfyUI_00001_.png") subfolder: Optional subfolder within the output directory
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": {
"filename": "<filename>"
},
"name": "comfy_get_output_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | ||
| subfolder | No |