get_done_items
Retrieve tasks completed on a specified date using completion time and configured timezone. Review daily completions and coverage warnings when API fetches are incomplete.
Instructions
Get tasks completed on a given date.
Tasks completed on a given date (doneAt within that day, configured
timezone) — regardless of priority and deadline. Built on the
endpoint GET /doneItems?date= (documented in the help center since
2026-10-04; live-tested 2026-08-30): the endpoint filters
on the task's day, not on doneAt; this tool filters on doneAt itself,
midnight to midnight. A past day is kept on completion
both in the app and via the API (the app sets day = today only on
unscheduled and future-dated tasks) — hence the date plus lookback_days
earlier are fetched and everything is filtered on doneAt.
The response always states its coverage: covers_from (= date − lookback)
and days_fetched. On a 429/error the fetch stops: incomplete=true,
days_missing lists the days not fetched and warning explains; the
date's own completions are always included because it is fetched
first. Complete results are cached for 30 minutes (cached=true) —
repeated calls then cost no API calls; mark_done inserts its task into
the cache, delete_task and unmark_done remove theirs. Completions or
deletions made in the app show up only once the cache expires. Not covered: a task with a FUTURE day completed via the API
(it sits under its day). Tasks only — completed projects are not
listed. Items without doneAt (older data) are excluded and counted in
skipped_without_done_at. Completion time, not day: the app's Logbook
follows day, so a task whose day was moved after completion (in the
app, or by mark_done before Day Starts At) shows in the Logbook under
its day but here under its completion time (verified 2026-12-02).
Without date: today with Day Starts At counted in; the doneAt window is
still the calendar day, midnight to midnight. Sorted by doneAt. Cost: one read call per day
(~3.1 s each in the queue).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_done_items"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Date YYYY-MM-DD on which tasks were completed (doneAt within the calendar day, configured timezone); omit for today (Day Starts At counted in) | |
| lookback_days | No | Days before the date for which /doneItems is also fetched, to catch tasks scheduled earlier but completed on the date. Each day = one read call (~3.1 s in the queue). Default 7 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||