get_tasks
Retrieve tasks from any OmniFocus perspective—Inbox, Flagged, Forecast, Tag, or custom—with flexible filtering and display options.
Instructions
Read tasks from inbox, flagged, forecast, tag, or custom perspective. Use source to select the view; source-specific parameters are strictly validated.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Forecast lookahead days (default: 7; forecast only). | |
| limit | No | Maximum tasks in flat custom perspective mode (custom only). | |
| source | Yes | Task view to read. Each source accepts only its documented source-specific parameters. | |
| tagName | No | Required when source is tag. | |
| exactMatch | No | Require an exact tag match (default: false; tag only). | |
| displayMode | No | Custom perspective display mode (custom only). | |
| showSubtasks | No | Expand each matching task subtask tree (not custom). | |
| hideCompleted | No | Hide completed tasks (default: true; all sources). | |
| projectFilter | No | Filter by project name (flagged only). | |
| showHierarchy | No | Legacy custom perspective hierarchy option (custom only). | |
| groupByProject | No | Legacy custom perspective grouping option (custom only). | |
| maxSubtaskDepth | No | Maximum subtask levels to expand (not custom). | |
| perspectiveName | No | Required when source is custom. | |
| includeDeferredOnly | No | Show only deferred tasks becoming available (forecast only). |