delete_local_model
Permanently delete a local model from the allowlisted directory. Provide the model ID and set confirm to true to stop it if running and remove its downloaded snapshot.
Instructions
Permanently delete a downloaded snapshot from the allowlisted models directory. Stops that model if it is running. Requires confirm=true. Does not unregister other backends.
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_id": "<model_id>",
"confirm": "<confirm>"
},
"name": "delete_local_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | Must be true; refuses otherwise | |
| model_id | Yes | Catalog id whose weights to delete |