create_agent
Create a personal agent for a user. Required: name. Optional: description, color (UI accent), user_id (defaults to caller), trigger_mode ("mcp_client" default — runs only while an MCP client drives it — or "server_job": the server triggers it on a schedule), run_every_minutes (the cadence a server_job needs), and the profile: persona, values (the agent's rules), autonomy (autonomous|approval|read_only, default approval), fast_model, deliberate_model. Fields it does not know (slug, tool_permissions, brains, seed_*) are REJECTED with a hint instead of being dropped — tool permissions, brains and seed knowledge/skills come from provision_agent. Returns { agent_id, profile_fields }.
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": {
"name": "<name>"
},
"name": "create_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the agent | |
| color | No | Colour (e.g. hex code) | |
| 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 | |
| user_id | No | ID of the user | |
| 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 |