Change an agent
update_agentChange an agent's name, description, instructions, model, reasoning effort, temperature, max_token (the reply size limit, which reasoning models also spend on thinking, so keep it at 4000 or more) or max_tool_calls. Pass only what changes. Agents have no versions, so the answer has previous: the old values, which you can send back to undo the change. Tell the person what changed.
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>"
},
"name": "update_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| model | No | A model id, e.g. from the agent's current model or whoami. | |
| agent_id | Yes | The agent to change. | |
| max_token | No | Reply size limit in tokens. | |
| description | No | ||
| temperature | No | ||
| instructions | No | The whole new instructions (they replace the old ones). | |
| max_tool_calls | No | ||
| reasoning_effort | No |