Update Agent
update_agentEdit an agent's name, role, description or persona (its standing instructions). Only the fields given change; the previous text is replaced. Capabilities, channels and approvals stay as they are and are changed in Fine Structure.
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 | ||
| role | No | ||
| persona | No | Standing instructions: how the agent works and speaks. | |
| agent_id | Yes | The agent id, from list_agents. | |
| description | No |