switch_model
Switch the default AI model for web search and content fetching, with the setting saved for future sessions. Use to compare model performance or adjust preferences.
Instructions
Switches the default AI model used for search and fetch operations, and persists the setting.
This tool is useful for:
Changing the AI model used for web search and content fetching
Testing different models for performance or quality comparison
Persisting model preference across sessions
Parameters
model : str The model ID to switch to (e.g., "gpt-4o", "gpt-4o-mini")
Returns
A JSON-encoded string containing:
status: Success or error statusprevious_model: The model that was being used beforecurrent_model: The newly selected modelmessage: Status messageconfig_file: Path where the model preference is saved
Notes
The model setting is persisted to ~/.config/openai-search/config.json
This setting will be used for all future search and fetch operations
You can verify available models using the get_config_info tool
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Model ID |