comfyui_get_model_metadata
Retrieve metadata for a specific model file by providing the folder type and filename.
Instructions
Get metadata for a model file.
Args:
folder: Model folder type (checkpoints, loras, vae, etc.)
filename: Name of the model file
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": {
"folder": "<folder>",
"filename": "<filename>"
},
"name": "comfyui_get_model_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder | Yes | ||
| filename | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||