download_all_outputs
Downloads all output files for a ComfyUI prompt into a local directory and returns their saved paths, letting you gather execution results in one step.
Instructions
Download all output files for a prompt into a directory. Returns list of saved paths. Requires COMFYUI_HOST.
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": {
"prompt_id": "<prompt_id>",
"dest_dir": "<dest_dir>"
},
"name": "download_all_outputs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dest_dir | Yes | Local directory path to save files | |
| prompt_id | Yes | Prompt id from execute_workflow or execute_workflow_sync | |
| prefix_node_id | No | Prefix filename with node_id to avoid collisions (default true) |