swap_model
Swap to a different llama.cpp model in a running session while preserving conversation context. Unloads current model, loads the requested one, and waits for readiness.
Instructions
Swap to a different llama.cpp model.
Unloads any currently loaded model, loads the requested one, and waits for the health endpoint to confirm readiness.
Args: model: Alias of the model to load
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": "swap_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |