get_tasks
Retrieve tasks from OmniFocus with flexible filtering options like by ID, project, flagged status, due dates, tags, or search terms to manage your workflow.
Instructions
Get tasks from OmniFocus with optional filtering (Enhanced - Phase 3.1).
NEW (Phase 3.1): Added task_id, parent_task_id, include_full_notes parameters to consolidate get_task(), get_subtasks(), and get_note() functionality.
Args: task_id: NEW - Filter to specific task by ID (consolidates get_task()) parent_task_id: NEW - Filter to subtasks of parent (consolidates get_subtasks()) include_full_notes: NEW - Return full note content (consolidates get_note()) project_id: Optional project ID to filter tasks (ignored if inbox_only=True) flagged_only: If True, only return flagged tasks include_completed: If True, include completed tasks (default: False) available_only: If True, only return available tasks (not blocked or deferred) overdue: If True, only return overdue tasks dropped_only: If True, only return dropped tasks blocked_only: If True, only return blocked tasks next_only: If True, only return next tasks tag_filter: List of tag names to filter by (task must have all tags) query: Optional search term to filter by name or note (case-insensitive) inbox_only: If True, only return inbox tasks
Returns: Each task includes: id, name, projectName, completed, dropped, blocked, available, next, flagged, dueDate, deferDate, estimatedMinutes, tags, note (truncated unless include_full_notes=True), parentTaskId, subtaskCount, sequential.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | No | ||
| parent_task_id | No | ||
| include_full_notes | No | ||
| project_id | No | ||
| flagged_only | No | ||
| include_completed | No | ||
| available_only | No | ||
| overdue | No | ||
| dropped_only | No | ||
| blocked_only | No | ||
| next_only | No | ||
| tag_filter | No | ||
| query | No | ||
| inbox_only | No |