Unload model
unload_modelFree VRAM/RAM by unloading a specified model from a chosen local AI provider; omit the provider to use the live local provider with the model loaded.
Instructions
Unload a model from memory to free VRAM/RAM on ONE provider. Without provider, uses the live local provider that has it loaded.
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": {
"model": "<model>"
},
"name": "unload_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Model id/name to unload | |
| provider | No | Provider instance name. Omit to let the server choose (local providers only, unless LOCAL_AI_ALLOW_HOSTED_FALLBACK is set). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unload | Yes |