query_tasks
Retrieve tasks from an OmniPlan document filtered by keyword, type, completion status, or due dates.
Instructions
Query tasks in an OmniPlan document with optional filters.
Args: keyword: Filter by title or note containing this text (case-insensitive). task_type: One of: task, group, milestone, hammock. completed: True = completed only, False = incomplete only, None = all. due_before: ISO date string (e.g. 2025-12-31). Tasks ending before this date. due_after: ISO date string (e.g. 2025-01-01). Tasks ending after this date. limit: Maximum number of tasks to return. Returns all tasks if omitted. detail: 'summary' (default) returns core fields only; 'full' returns all fields.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keyword | No | ||
| task_type | No | ||
| completed | No | ||
| due_before | No | ||
| due_after | No | ||
| limit | No | ||
| detail | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |