lmstudio_unload_model
Unload a loaded model or all loaded models to free RAM and VRAM in LM Studio, reclaiming memory for other models or tasks.
Instructions
Unload a loaded model (frees its RAM/VRAM), or all loaded models.
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": "lmstudio_unload_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | Unload every loaded model. | |
| identifier | No | Identifier from lmstudio_list_loaded. |