Search tasks
search_tasksSearch the user's tasks. A bare call returns tasks from every list. Text search is optional. Use view_lists to resolve a list to its id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| when | No | Narrow by scheduled day. Each bound is a day, "2026-09-19", or an ISO 8601 duration from today in the user's timezone: "P0D" is today, "P1D" tomorrow, "-P1D" yesterday, "P2W" two weeks out. Inbox tasks have no day and never match. | |
| limit | No | Max results. Defaults to 50, up to 100. | |
| query | No | Narrow to tasks matching this text. Every whitespace-separated word must appear in the task's name or note (case-insensitive, any order), so extra words narrow the results rather than widening them — pass distinctive keywords, not a full sentence. | |
| cursor | No | Continue from a previous response's nextCursor, with the same filters. Omit for the first page. | |
| listId | No | Narrow to a single list. Omit to span every list. | |
| completed | No | Narrow to finished (true) or open (false) tasks. Omit for both. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tasks | Yes | ||
| nextCursor | No | Pass as cursor, with the same filters, to read the next page. Absent on the last page. |