list_files
List files in ComfyUI's output, input, or temp directories. Specify the directory type to see available files for your workflows.
Instructions
List files in a ComfyUI directory.
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": "list_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| directory_type | No | Which directory to list - "output", "input", or "temp". | output |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |