list_local_models
Lists model files available to ComfyUI, grouped by type. Queries the /models REST endpoint first, then falls back to filesystem scan for local models.
Instructions
List model files available to the connected ComfyUI, grouped by type. Read-only. Queries ComfyUI's /models REST endpoint first (works with remote ComfyUI and respects extra_model_paths.yaml — symlinked / mounted dirs the install-path filesystem scan would miss), then falls back to a filesystem scan of COMFYUI_PATH/models/ when the REST endpoint is unavailable. Size and modified time are only available on the filesystem fallback path. Use to see which models are already available before generating or downloading; use search_models to discover new models on HuggingFace, then download_model to fetch them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_type | No | Filter by model type (e.g. 'checkpoints', 'loras'). Lists all types if omitted. |