find-tasks-by-date
Retrieve tasks within a date range, including overdue items, with optional user and label filters. Specify a start date and number of days to get tasks.
Instructions
Get tasks by date range. startDate='today' includes overdue items. Default responsibleUserFiltering='unassignedOrMe' excludes others' tasks. Person-specific queries (summaries, plans, reports) require responsibleUser.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | The maximum number of tasks to return. Default is 10. | |
| cursor | No | The cursor to get the next page of tasks (cursor is obtained from the previous call to this tool, with the same parameters). | |
| labels | No | The labels to filter the tasks by | |
| daysCount | No | The number of days to get the tasks for, starting from the start date. Default is 1 which means only tasks for the start date. | |
| startDate | No | The start date to get the tasks for. Format: YYYY-MM-DD, or 'today', which by default also includes overdue tasks. | |
| overdueOption | No | How to handle overdue tasks. 'overdue-only' to get only overdue tasks, 'include-overdue' to include overdue tasks along with tasks for the specified date(s), and 'exclude-overdue' to exclude overdue tasks. Default is 'include-overdue'. | |
| labelsOperator | No | The operator to use when filtering by labels. This will dictate whether a task has all labels, or some of them. Default is "or". | |
| responsibleUser | No | Filter tasks assigned to this user. User ID, name, or email. For personal queries (summaries, plans, reports), set to current user from user-info to exclude collaborators. | |
| responsibleUserFiltering | No | Filter when responsibleUser is omitted. 'assigned'=assigned to others; 'unassignedOrMe'=unassigned+mine; 'all'=everyone. Default: 'unassignedOrMe'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tasks | Yes | The found tasks. | |
| hasMore | Yes | ||
| nextCursor | No | ||
| totalCount | Yes | The total number of tasks in this page. | |
| appliedFilters | Yes |