get_tasks
Retrieve tasks from a Nextcloud CalDAV task list with pagination. Specify list_id, limit, and offset to get task summaries, due dates, statuses, and other details.
Instructions
Get tasks from a task list.
Returns all tasks in the list, ordered as stored in CalDAV.
Args: list_id: Task list identifier (default "tasks"). Use list_task_lists to find IDs. limit: Maximum number of tasks to return (1-500, default 50). offset: Number of tasks to skip for pagination (default 0).
Returns: JSON with "data" (list of task objects) and "pagination" (count, offset, limit, has_more). Each task has: uid, summary, description, status, priority, percent_complete, dtstart, due, completed, etag, and optionally categories.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| offset | No | ||
| list_id | No | tasks |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |