list_library
Lists files ComfyUI can load for a given model-package kind so you can choose valid model or LoRA names before setting them; optional query words narrow the results.
Instructions
List files ComfyUI can load for one kind declared by the active model package.
Call this before setting a model or a LoRA to anything other than the default in
get_guide. Use a returned name as-is. query keeps every file whose path
contains all of its words.
Args:
kind: A library kind from get_guide, such as the one that fills model.
query: Words to narrow the list. Omit it for the whole folder.
limit: How many names to return, up to 200.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"kind": "<kind>"
},
"name": "list_library"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| limit | No | ||
| query | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |