Switch an agent's model
set_modelSwitches an agent's main model to another one from the same provider (ids from get_options).
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_id": "<agent_id>",
"model": "<model>"
},
"name": "set_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | ||
| agent_id | Yes | The agent id, like agt_j8bbg89jv5 (get_account lists them). |