list_models
List ComfyUI-loadable models by querying ComfyUI directly, honoring extra_model_paths.yaml. Avoids misleading disk scans that miss mapped model folders.
Instructions
List the models ComfyUI can actually load.
Asks ComfyUI itself, so the result honours extra_model_paths.yaml and matches the
values a loader node will accept. A plain disk scan does not: model folders are
routinely mapped in from elsewhere and ComfyUI/models/ can be almost empty.
Args: folder: which folder to list, e.g. 'loras', 'checkpoints', 'diffusion_models'. Empty lists the available folder names instead. search: case-insensitive substring filter on the file name. limit: maximum number of files to return.
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_models"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| folder | No | ||
| search | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||