Update agent
update_agentUpdate an agent (partial). Set trigger_mode to 'server_job' + trigger_events/run_every_minutes to run it unattended (background jobs, §17) — setting run_every_minutes (and not also passing next_run_at) schedules its first run immediately.
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 | ||
| color | No | ||
| active | No | ||
| status | No | ||
| agent_id | Yes | ||
| description | No | ||
| next_run_at | No | ISO timestamp of the next scheduled run. Usually left to auto-compute from run_every_minutes. | |
| trigger_mode | No | ||
| trigger_events | No | Event names (your own convention) that should wake this agent as a background job. | |
| run_every_minutes | No | Recurring schedule; set to null to stop scheduling. |