List Tasks
list_tasksList and filter uncompleted tasks from Dida365 by project, priority, date range, or quick presets like today, tomorrow, this week, or overdue.
Instructions
List and filter tasks (任务) across one or more projects (清单).
WHEN TO USE:
Find tasks due today (今天的任务), this week (本周任务), or overdue (逾期任务)
Filter tasks by priority (优先级) or date range (日期范围)
Search tasks across multiple projects (清单) or inbox (收集箱)
Get a filtered subset of tasks
WHEN NOT TO USE:
Need all tasks in one project without filtering → use 'get_project_data'
Need a single specific task → use 'get_task'
QUICK FILTERS (preset 快速筛选):
"today": Tasks due today (今天的任务)
"tomorrow": Tasks due tomorrow (明天的任务)
"thisWeek": Tasks due this week (本周任务)
"overdue": Past-due tasks (逾期任务)
OPTIONAL FILTERS:
projectId: Single ID, array of IDs, or "inbox" (收集箱) (omit for all projects/所有清单)
dueDateFrom/dueDateTo: Custom date range (自定义日期范围, ISO 8601)
priority: [0=none (无), 1=low (低), 3=medium (中), 5=high (高)]
SORTING:
sortBy: "dueDate" (截止日期, default), "priority" (优先级), "createdTime" (创建时间)
sortOrder: "asc" (升序, default), "desc" (降序)
⚠️ LIMITATION: Only returns UNCOMPLETED tasks (未完成任务, status=0). Completed tasks not available.
EXAMPLES:
Today's tasks (今天的任务): { "preset": "today" }
High priority from inbox (收集箱高优先级): { "projectId": "inbox", "priority": [5] }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of tasks to return (最大返回数量, default 50, max 200) | |
| preset | No | Quick date filter preset (快速筛选): today (今天), tomorrow (明天), thisWeek (本周), overdue (逾期) | |
| sortBy | No | Sort field (排序字段): dueDate (截止日期, default), priority (优先级), createdTime (创建时间) | |
| priority | No | Filter by priority (优先级): 0=none (无), 1=low (低), 3=medium (中), 5=high (高) | |
| dueDateTo | No | Filter tasks with due date <= this value (截止日期结束, ISO 8601 format) | |
| projectId | No | Project ID(s) (清单ID) to filter. Use "inbox" for inbox tasks (收集箱). If omitted, searches all projects (所有清单). | |
| sortOrder | No | Sort order (排序方向): asc (升序, default), desc (降序) | |
| dueDateFrom | No | Filter tasks with due date >= this value (截止日期起始, ISO 8601 format) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tasks | Yes | ||
| total | Yes | ||
| filtered | Yes | ||
| projects | Yes |