Change tasks
change_tasksAdd, change, complete or reopen a task in DayHeart. add needs a title (date and time optional; time needs a date). update changes the title, date, time, length, important or urgent. complete marks the task done; reopen marks it not done. Notes and private tasks are not available.
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": {
"action": "<action>"
},
"name": "change_tasks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Task id, for update, complete and reopen | |
| date | No | YYYY-MM-DD; empty string removes the date | |
| time | No | HH:MM, 24-hour; needs a date; empty string removes the time | |
| title | No | What to do, up to 180 characters | |
| action | Yes | What to do with the task | |
| urgent | No | Mark the task urgent | |
| important | No | Mark the task important | |
| duration_minutes | No | How long the task takes, 1 to 1440 minutes; only with a time |