list_tasks
Fetch tasks from Vikunja by project or search, with filters, sorting, and pagination to find the exact tasks you need.
Instructions
List tasks, optionally scoped to one project.
Tasks marked as removed are hidden unless include_removed is true. When the removal filter is applied and filter_include_nulls was not set explicitly, it defaults to true so that tasks without any label are still returned.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 1-based page number. | |
| query | No | Full-text search over task titles/descriptions. | |
| expand | No | Extra data to embed: subtasks, buckets, reactions, comments, comment_count, time_entries_count, is_unread. | |
| sort_by | No | Fields to sort by, e.g. ['due_date']. | |
| order_by | No | 'asc' or 'desc' per sort_by field. | |
| per_page | No | Items per page (max 1000). | |
| project_id | No | Numeric project id. | |
| filter_query | No | Vikunja filter expression, e.g. 'done = false && due_date < now+7d'. Reference labels and projects by numeric id. | |
| filter_timezone | No | IANA timezone used to resolve relative dates. | |
| include_removed | No | Include tasks carrying the removal label. | |
| filter_include_nulls | No | Also match tasks where the filtered field is unset. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| items | No | ||
| total | No | ||
| per_page | No | ||
| total_pages | No |