comfy_list_models
List models in a specified folder from ComfyUI with pagination support, returning a structured model list.
Instructions
List models in a folder with pagination. Returns structured ModelList.
Args: folder: Model folder name (e.g., "checkpoints", "diffusion_models", "loras", "vae", "text_encoders"). Call comfy_list_model_folders to see every folder the connected ComfyUI actually exposes. limit: Maximum number of results per page. offset: Starting position for pagination. include_non_model_files: Include caches, source files, lock metadata, archives, and unknown extensions returned by custom folders.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| folder | Yes | ||
| offset | No | ||
| include_non_model_files | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder | Yes | ||
| models | No | ||
| has_more | No | ||
| next_offset | No | ||
| total_count | No |