duddy_list_models
List available model directories or files inside a specified folder, so you can verify model names before referencing them and avoid missing-file errors.
Instructions
列出模型文件。不带 folder 时返回所有模型目录名;带 folder 返回该目录下的文件名。写死模型名之前查一下,避免文件不存在。
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": "duddy_list_models"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder | No | 如 checkpoints / loras / vae / diffusion_models / text_encoders |