window_set_perspective
Change the front OmniFocus window to a specified perspective, updating the visible view to the chosen built-in or custom perspective.
Instructions
Switch the front OmniFocus window to a named perspective (built-in or custom). UI-affecting tool — only meaningful when the user can see OmniFocus. Headless agents should not fire this. Use when the user asks 'show me my flagged tasks' or a guided weekly-review prompt wants to navigate the user's UI. Do NOT use to evaluate a perspective's results — prefer perspective_evaluate, which doesn't touch the user's UI. Pass perspectiveName (case-sensitive, matches OF's UX). Built-in names: Inbox, Projects, Tags, Forecast, Flagged, Review, Nearby, Completed, Changed. Returns { perspectiveName }. Errors: OF_WINDOW_UNAVAILABLE (no front window), OF_NOT_FOUND (no perspective with this name). Side effects: changes the user's visible window state; no data caches invalidated. Example: window_set_perspective({ perspectiveName: "Flagged" })
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| perspectiveName | Yes | Name of the perspective to activate. Case-sensitive. Built-in or custom perspectives both work. |