switch_model
Change AI model tiers at runtime to experiment with different models without server restart. Updates persist across sessions for consistent model selection.
Instructions
Switch the model for a specific tier at runtime.
This allows dynamic model experimentation without restarting the server. Changes are persisted to settings.json for consistency across restarts.
Args: tier: Model tier to change - "quick", "coder", "moe", or "thinking" model_name: New model name (must be available in the current backend)
Returns: Confirmation with model change details and availability status
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": {
"tier": "<tier>",
"model_name": "<model_name>"
},
"name": "switch_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tier | Yes | ||
| model_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |