remove_model
Delete a model file from the local ComfyUI models directory. Specify the file path relative to models/; traversal and absolute paths are rejected.
Instructions
Delete a model file from the local ComfyUI models directory. The path must stay within models/ (path traversal and absolute escapes are rejected).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Model file path relative to the ComfyUI models/ directory (e.g. 'checkpoints/sd_xl_base_1.0.safetensors'). |