Task agenda
task_agendaGet a dated overview of open tasks in one call, grouped into overdue, due today, scheduled, and upcoming, with filters for folder, tags, scope, and time window.
Instructions
A dated overview of open tasks in one call, from the index: overdue, due today, scheduled and now due, and upcoming.
Use list_tasks to filter, search or page through tasks in general; use
task_agenda for "what is due". Plain checkboxes work; only tasks with a
Tasks-plugin date (π
due, β³ scheduled) can be dated, and the emoji fields
are otherwise optional.
Sections, each counted and disjoint β every open task due on or before
date + days, or scheduled on or before date, is in exactly one:
overdue: due before
date;due today: due on
date;scheduled and now due: scheduled on or before
datewith no due date, or with a due date after the window;upcoming: due in the
daysdays afterdate, grouped by due date.
Rows are brief: marker, id, the path in backticks with :line (escaped
as in list_tasks; pass it unescaped), dates,
priority, tags and description. complete_task and update_task take
that id with the path. A section shows at most 25 rows (overdue, due
today), 15 (each scheduled part) or 50 (upcoming); one with more ends
continue: list_tasks(β¦) β the exact list_tasks arguments, dates
resolved, with a cursor when rows were shown β to be called with this
call's folder, tags, exclude_tags and scope.
The header states the timezone and date used, days, the scope,
excluded by scope: N, and what the index could not show (notes not yet
scanned, tasks that could not be indexed, notes over the task cap, ids
pending), so an empty section does not mean no tasks exist. Invalid
arguments are refused invalid_argument; response_cap_too_small means
the deployment's response cap is under 2,800 characters (3,121 while a
task rule is in force).
Args:
date: The day to report on: YYYY-MM-DD, today (default),
tomorrow, yesterday, +Nd or -Nd, in your task timezone.
days: The upcoming window in days, 1β31 (default 7).
folder: Only notes under this path prefix (e.g. "Projects/").
tags: Only tasks carrying every one of these tags, matched by /
segment and case-insensitively. At most 32.
exclude_tags: Drop tasks carrying any of these tags.
scope: default applies your task settings: excluded folders,
excluded note tags and the task rule (which checkboxes count as
tasks); all ignores them.
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": "task_agenda"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | today | |
| days | No | ||
| tags | No | ||
| scope | No | default | |
| folder | No | ||
| exclude_tags | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |