list_models
List the real model files a ComfyUI loader node offers, preventing hallucinated filenames by reading the loader's enum from object_info.
Instructions
List the real model files a loader offers (loop step: never hallucinate a checkpoint/LoRA/VAE filename).
Reads the loader's enum from object_info (handles both the legacy list and the newer COMBO encoding). If input_name is omitted, reports every enum-typed input on the node. Pick ONLY from the returned list.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| class_name | Yes | ||
| input_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |