add_model_file
Registers an existing local model file by path for ComfyUI rendering, checking it first and linking without copying. After adding it, render calls can use the model by file name.
Instructions
Adds a model file that is already on this PC, where it is (a link, no copy). It is checked first. After this, render(model=) uses it.
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": {
"path": "<path>"
},
"name": "add_model_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| path | Yes |