check_model_exists
Verify whether a specific model file is available on the ComfyUI server before building or running a workflow. Takes a model name and type, returning existence status.
Instructions
Check if a model exists on the ComfyUI server (in object_info model lists). 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": "check_model_exists"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Model filename | |
| type | Yes | Model type |