Get a task list
get_listGet one list and its tasks. status chooses which top-level tasks come back: open (the default, tasks not yet completed), completed, or all, so a list whose tasks are all done returns none unless you pass completed or all. The filter applies to top-level tasks only: every returned task comes with all of its subtasks, whether or not they are done, so an open task can show completed subtasks. Tasks are in the order the user sees them, and there is no paging. Read-only. list_id must be a list the user owns or one shared with them; an unknown id, or one they cannot access, returns an error. Each task has the id that update_task, complete_tasks, delete_tasks and create_event need. For just the list names and task counts use list_lists.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"list_id": "<list_id>"
},
"name": "get_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | Which top-level tasks to return: open (the default, not completed), completed, or all. Subtasks always come with their parent, whatever their own state | open |
| list_id | Yes | Id of the list to read, from list_lists. It can be a list shared with the user |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | List id | |
| tasks | Yes | The tasks matching the requested status, in the order the user sees them | |
| title | Yes | The list’s name | |
| shared_with_me | Yes | True when someone else owns the list |