Change an agent's model / provider / account
update_agent_settingsChange an agent's provider, model, reasoning effort, or provider account. Use it to switch models or accounts; provider and account changes apply once the agent is idle.
Instructions
Change an agent's provider, model, reasoning effort and/or provider account (same as the model and account controls in OpenBot). model alone picks the provider that lists it; provider alone uses its default model. Provider/account changes wait until the agent is idle (409 while it works). Invalid model/effort gives 409 with the valid values.
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": {
"agent": "<agent>"
},
"name": "update_agent_settings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | Yes | Agent ID or agent name (case-insensitive), as list_agents shows it. | |
| model | No | e.g. claude-opus-5-5 | |
| provider | No | e.g. claude, codex, grok | |
| reasoningEffort | No | e.g. low, medium, high | |
| providerAccountId | No | Account ID from Settings > Providers, "default" for the provider's own sign-in, or null. |