update_agent
Update an agent (partial): name, description, color, active, trigger_mode, run_every_minutes, and the profile — persona, values, autonomy, fast_model, deliberate_model (unknown fields such as slug are rejected with a hint, not dropped). trigger_mode decides WHO runs this agent: "mcp_client" (default) means it only ever runs while an MCP client drives it — close the client and nothing happens, however many recurring tasks point at it. "server_job" means the server triggers it on its own clock and therefore needs run_every_minutes (e.g. 1440 for daily); switching without a cadence is refused rather than silently doing nothing. Switching is reversible and changes NOTHING about the agent's tool permissions — tools that need approval still need it. WHEN it may run: run_from/run_to ("08:00"/"20:00", empty string removes the limit), run_days (1=Monday .. 7=Sunday, also "1-5" or "mo-fr") and timezone (IANA, e.g. Europe/Berlin — the agent's own, not the tenant's). A run falling due outside the window is SKIPPED, not caught up: the next date moves to the next opening, so a weekend does not produce sixteen runs on Monday morning.
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 | Name of the agent | |
| color | No | Colour (e.g. hex code) | |
| grund | No | Why this change (goes into the optimisation register, list_optimierungen) | |
| active | No | Whether the entry is active | |
| run_to | No | Latest local time of day, e.g. 20:00 | |
| values | No | The agent's rules (shown as identity.values in get_agent_bootstrap) | |
| persona | No | Who the agent is, in its own words | |
| agent_id | Yes | ID of the agent to change | |
| autonomy | No | How freely the agent acts: autonomous, approval (default) or read_only | |
| run_days | No | ISO weekdays 1=Mon .. 7=Sun | |
| run_from | No | Earliest local time of day, e.g. 08:00 | |
| timezone | No | IANA zone the agent works in | |
| fast_model | No | Model for quick, routine steps of this agent | |
| description | No | Description of the agent | |
| trigger_mode | No | Who runs the agent: mcp_client (default, only while a client drives it) or server_job (server schedule) | |
| deliberate_model | No | Model for slower, more careful reasoning steps of this agent | |
| run_every_minutes | No | Run cadence in minutes for server_job agents, e.g. 1440 for daily |