switch_model
Change the AI model used for web search and content fetching, with persistent settings across sessions.
Instructions
Switches the default Grok model used for search and fetch operations, persisting the setting.
**Key Features:**
- **Model Selection:** Change the AI model for web search and content fetching.
- **Persistent Storage:** Model preference saved to ~/.config/grok-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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Model ID to switch to (e.g., 'grok-4-fast', 'grok-2-latest', 'grok-vision-beta'). |