Tasks List Tasklists
tasks_list_tasklistsList Google Tasks task lists or look up one by ID to retrieve the tasklist_id needed by other tasks tools, with pagination and default-list selection.
Instructions
List the user's Google Tasks task lists, or look up one list by tasklist_id. Call it to get the tasklist_id the other tasks tools take ('@default' also selects the default list); for the tasks in a list use tasks_list_tasks. Returns tasklists (id, title, updated_at in local time), count, next_page_token when more lists remain, and account_timezone.
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": "tasks_list_tasklists"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_token | No | The next_page_token from the previous response of this same call; omit for the first page. | |
| max_results | No | Maximum task lists per page, 1 to 100. | |
| tasklist_id | No | Task list ID (or '@default') to return only that list, as a one-item tasklists; max_results and page_token are ignored when it is given. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Number of items in this response. | |
| has_more | No | Whether another page is available. | |
| tasklists | No | ||
| fetched_at | No | RFC3339 time when this response was fetched. | |
| next_page_token | No | Opaque token for the next page, or null. | |
| account_timezone | No |