Get Due Tasks
omnifocus_get_due_tasksRetrieve OmniFocus tasks due within a specified timeframe, with options to include overdue, filter by tags, and set a limit.
Instructions
Get tasks that are due within a specified timeframe.
Args:
daysAhead (number): Days to look ahead, 0-365 (default: 7)
includeOverdue (boolean): Include overdue tasks (default: true)
limit (number): Max tasks, 1-500 (default: 50)
tags (array, optional): Filter to tasks matching these tag names (max 20)
tagMatchMode (string): How to match tags - 'all', 'any', or 'none' (default 'all'). Only applied when tags is provided.
Returns: Array of due tasks sorted by due date
Examples:
Due this week: {}
Due today: { daysAhead: 0 }
Due in 30 days: { daysAhead: 30 }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Filter to tasks matching these tag names (combined per tagMatchMode) | |
| limit | No | Maximum tasks to return | |
| daysAhead | No | Number of days ahead to look (0 = today only) | |
| tagMatchMode | No | How to match tags: 'all' = task has every listed tag, 'any' = at least one, 'none' = none of them. Only applied when tags is provided. | all |
| includeOverdue | No | Include overdue tasks |