switch_model
Switch the AI model used for search summarization, persisting the selection for future requests.
Instructions
Switches the GLM-compatible model used for search summarization, persisting the setting.
**Key Features:**
- **Model Selection:** Change the AI model for web search and content fetching.
- **Persistent Storage:** Model preference saved to ~/.config/selvin-search/config.json.
- **Immediate Effect:** New model used for all subsequent operations.
**Edge Cases & Best Practices:**
- Use get_config_info to verify available models before switching.
- Invalid model IDs may cause API errors in subsequent requests.
- Model changes persist across sessions until explicitly changed again.
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": "switch_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Model ID to switch to. |