OmniFocus app control
app_controlControl OmniFocus app-level actions: sync, undo/redo with confirmation, manage sidebar focus, and reveal tasks or projects.
Instructions
Application-level OmniFocus control: start a sync, step the undo/redo stack, read/set/clear the sidebar focus of the front window, or reveal (select) a task or project. Undo and redo are destructive and require confirm: true — the top of the undo stack is often the user's own manual edit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taskId | No | reveal only: ID of the task to select. | |
| confirm | No | Required (true) for 'undo' and 'redo'. Without it those operations only REPORT the undo/redo state and change nothing. Only valid with undo/redo. | |
| taskName | No | reveal only: name of the task to select (alternative to taskId). | |
| folderIds | No | set_focus only: folder IDs to focus on. | |
| operation | Yes | What to do: 'sync' starts an OmniFocus sync (fire-and-forget). 'undo' / 'redo' step the OmniFocus undo stack — DESTRUCTIVE, requires confirm: true. 'get_focus' reports what the front window is focused on. 'set_focus' focuses the sidebar on specific folders/projects. 'clear_focus' removes any focus. 'reveal' selects a task or project in the front window. | |
| projectId | No | reveal only: ID of the project to select. NOTE: for set_focus use projectIds (plural). | |
| projectIds | No | set_focus only: project IDs to focus on. | |
| folderNames | No | set_focus only: folder names to focus on. | |
| projectName | No | reveal only: name of the project to select. NOTE: for set_focus use projectNames (plural). | |
| projectNames | No | set_focus only: project names to focus on. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| meta | No | ||
| tool | Yes | ||
| success | Yes |