nexus_switch_model
Switch the active AI provider and model to change the backend for all subsequent AI requests.
Instructions
Switch the active AI provider and model. After switching, all subsequent nexus_ask calls will use the new provider/model.
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": {
"provider": "<provider>",
"model": "<model>"
},
"name": "nexus_switch_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Model ID to use with this provider | |
| provider | Yes | Provider ID. Available: openai, gemini, anthropic, mistral, cohere, groq, together, perplexity, deepseek, xai, huggingface, openrouter, nvidia, fireworks, cerebras, sambanova, deepinfra, ai21, abacus, copilot, opencode-zen, custom, ollama, lmstudio, llamacpp, localai, vllm |