window_get_state
Read the active perspective and focus container of the front OmniFocus window to confirm which view the user sees or verify a prior window setting.
Instructions
Read the active perspective and focus container of the front OmniFocus window. UI-affecting tool family — only meaningful in pair-assistant flows where the user is looking at OmniFocus. Headless agents should ignore. Use when the agent needs to know what view the user currently sees, or to confirm that a prior window_set_* took effect. Do NOT use to evaluate a perspective's data — prefer perspective_evaluate, which doesn't depend on UI state. Takes no arguments. Returns { perspectiveName: string | null, focusContainerIds: string[] } — perspectiveName is null when no perspective is bound; focusContainerIds is [] when the window isn't focused on a project or folder. Errors: OF_WINDOW_UNAVAILABLE when OmniFocus has no front window. Read-only; safe to retry. Example: window_get_state()
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||