list_models
List model folders or files in a ComfyUI directory to let agents discover available checkpoints, LoRAs, and diffusion models before running workflows.
Instructions
Model folders on the server, or the files in one folder (e.g. 'checkpoints', 'loras', 'diffusion_models').
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 |
|---|---|---|---|
| folder | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |