get_model_info
Retrieve model details like name, type, and path by specifying model name and type; returns null if not found. Requires COMFYUI_HOST.
Instructions
Get info for a model by name and type. Returns name, type, path; null if not found. Requires COMFYUI_HOST.
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": {
"name": "<name>",
"type": "<type>"
},
"name": "get_model_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Model filename (e.g. sd_xl_base_1.0.safetensors) | |
| type | Yes | Model type: checkpoint, lora, vae, controlnet, upscale, embedding, clip |