List tasks
list_tasksFetch tasks from a Google Tasks list, filtering by due date, completion, and updated time. Supports pagination and includes hidden/deleted tasks for sync.
Instructions
Lists tasks in one list: id, title, notes, status (needsAction|completed), due (date only — the API never stores a time of day), completed timestamp, parent (subtask's parent id), position (opaque sort key within siblings — sort by it client-side; change it only via move_task), updated, deleted/hidden flags, webViewLink. IMPORTANT: tasks completed in Google's own apps are also flagged hidden — pass show_completed=true AND show_hidden=true to reliably see all completed tasks. For incremental sync poll with updated_min plus show_deleted=true and show_hidden=true, so deletions and clears are not missed (the API has no push notifications). due_min/due_max bound the due date; completed_min/completed_max the completion time. Paginate with page_token; page_size caps at 100 (API default 20). Filtering by due/completed dates implies those fields exist — tasks without a due date never match due bounds.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| due_max | No | Upper bound on the due date (RFC3339). | |
| due_min | No | Lower bound on the due date (RFC3339). | |
| page_size | No | Max tasks per page (1..100; the API's default is 20). | |
| page_token | No | nextPageToken from the previous page. | |
| show_hidden | No | Include hidden tasks (API default false). | |
| tasklist_id | Yes | The task list id — from list_tasklists or create_tasklist output. "@default" addresses the user's default list. | |
| updated_min | No | Only tasks modified after this RFC3339 UTC timestamp (updatedMin) — the sync filter. | |
| show_deleted | No | Include deleted tasks (API default false; for sync). | |
| completed_max | No | Upper bound on the completion date (RFC3339). | |
| completed_min | No | Lower bound on the completion date (RFC3339). | |
| show_assigned | No | Include tasks assigned to the user from Google Docs / Chat spaces (API default false). | |
| show_completed | No | Include completed tasks (API default true; needs show_hidden=true to catch tasks completed in Google's UI). |