Change a task
update_taskChange one task when the user asks: rename, move to another date, set or clear the time, mark done or not done, star, set the sphere or description, set or remove the reminder (null removes it), set, change or stop the repeat. Send only what changes. On a repeating task the name, description, time and reminder change for the whole series from this day on; subtasks are each day's own. Repeating tasks are habits with statistics: when moving several tasks ("move everything to tomorrow") move only one-off tasks; move a repeating task only when the user names it, and only to a day its habit does not have yet (a daily habit already has tomorrow, so leave it and tell the user).
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": {
"task_id": "<task_id>"
},
"name": "update_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | YYYY-MM-DD | |
| done | No | ||
| note | No | One line every member of a shared sphere sees under the title: on the person's own task, or alone on a task of a sphere where they are responsible. null clears it. | |
| time | No | 24h HH:MM, empty string removes the time | |
| title | No | ||
| repeat | No | Repeat rule: daily, weekdays, weekends, weekly (same weekday), monthly, yearly. Days are created 60 days ahead, each one a task of its own. Set on a day in the middle of a series, the new rule starts from that day and earlier days keep the old one. null stops the repeat: open days after today go, done days stay. | |
| sphere | No | Sphere name or id, empty string removes it | |
| starred | No | ||
| task_id | Yes | ||
| description | No | ||
| remind_minutes_before | No | Remind this many minutes before the task's time: 5, 15, 30, 60, 120 (2 hours), 1440 (1 day) or 10080 (1 week). Only for a task with a time. null removes it. On a repeating task it changes for the whole series. |