remove_model
Delete a model from local storage to free up disk space and manage your Ollama model collection.
Instructions
Remove a model from local storage
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_name": "<model_name>"
},
"name": "remove_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_name | Yes | Name of the model to remove | |
| force | No | Force removal even if it's the default model |