mark_done
Marks a task as completed, stops running time tracking, and cleans up its T and M reminder entries by clearing reminderTime.
Instructions
Mark a task as done and clean up its reminders as the app does. Reads the task, runs /markDone (configured timezone) and then does what the app does: the server entries T and M are removed and reminderTime is cleared; the reminders list remains. Projects: /markDone responds 400 (tasks only); projects are closed with mark_project_done. 404 = does not exist, 400 = already done or a project. Habit task (field habitId): the habit is also recorded with /updateHabit at 12:00 on the task's day, and habitRepAt is set. Habit with a count (recordType number): value is recorded with the current time; the task is checked off only once the day's total reaches the target — otherwise it stays open and the response shows the total. Recurring occurrence: safe (deterministic id). After completion: the next occurrence is created +N days later. With a future day the tool does what the app does: the occurrence is moved to today before it is checked off, and the next one is counted from today. If a step fails the response says which steps were done. Running time tracking is stopped and written to task.times. /markDone does not set workedOnAt and does not stamp fieldUpdates, which the app does. Reward points: /markDone awards the task's rewardPoints automatically, whatever the strategy settings (live-tested 2026-12-01). claim_reward_points for the same task afterwards does nothing: one award per task (verified twice). Without rewardPoints the completion awards 0: the app's rules (default points, frog bonus) are computed only in the app. Day Starts At: /markDone sets day to the calendar date. Before the account's day start (dayStartTime 00:00-06:00) a day the server set is moved to the user's day with one extra /doc/update (day_corrected); points and doneAt stay and the app's Logbook follows day.
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": {
"item_id": "<item_id>"
},
"name": "mark_done"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | No | Habit task with a count only: the value to record (default 1) | |
| item_id | Yes | Task ID (NOT a project — mark_project_done closes those) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||