create_todo
Add a todo — for the agent's OWN work list (or a person's personal reminder they asked for). Something a HUMAN must do, decide or answer goes to delegate_to_user (with an = that person), not here: todos for others were ignored for days. Required: title. Optional: user_id (defaults to caller), agent_id (omit = the user's own list), notes, due_at (ISO), priority ('low'|'normal'|'high'), lead_id (link to a lead), timezone. Times without a UTC offset are read as wall-clock time in the caller's timezone (pass timezone, an IANA name, to override) — so '14:00' means 14:00 where the user is, not 14:00 UTC. ESCALATION: pass escalate_at AND escalate_to to hand the task to someone else automatically once that moment passes while it is still open — the handover is recorded in the audit trail with both names. Both are needed: a deadline without a target escalates into nothing, which looks like a process but is not one. Returns { todo_id, url } — url is the todo's page in the app. Called by an AGENT: if an open todo on the same list from the last 24 h names the same DN, the same lead or (almost) the same title, nothing is created and that todo comes back with dublette:true and a hint (append news with update_todo; trotzdem:true creates anyway).
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": {
"title": "<title>"
},
"name": "create_todo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | Free-text notes | |
| title | Yes | Title of the todo | |
| due_at | No | Due date/time (ISO 8601) | |
| goal_id | No | Goal this todo works towards. | |
| lead_id | No | ID of the lead | |
| user_id | No | ID of the user | |
| agent_id | No | ID of the agent | |
| brain_id | No | Agent brain (category) this todo belongs to. | |
| priority | No | Priority | |
| timezone | No | IANA time zone, e.g. Europe/Berlin | |
| trotzdem | No | Agents only: create even if an open todo on the same list from the last 24 h names the same DN, lead or (almost) the same title — otherwise that todo is returned with dublette:true. | |
| escalate_at | No | ISO time. If the task is still open then, it is handed to escalate_to. Deliberately NOT the same as due_at: 'by when should it be done' and 'from when must someone else look' are different questions. | |
| escalate_to | No | user_id that takes over. Escalating to the current owner does nothing — that is a loop, not an escalation. |