free_memory
Free up ComfyUI VRAM and RAM by clearing cached memory and unloading loaded models to prepare for new tasks.
Instructions
Free ComfyUI VRAM and RAM.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "free_memory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| free_memory | No | Whether to free cached memory. | |
| unload_models | No | Whether to unload loaded models from memory. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||