perspective_evaluate_dry_run
Preview proposed OmniFocus perspective rules without saving. Evaluates matched tasks by creating a temporary perspective that is deleted immediately, leaving the database unchanged.
Instructions
Preview a proposed OmniFocus perspective rule tree without persisting it. Creates a temporary perspective with the supplied rules, evaluates it, and always deletes the temp perspective inside one OmniJS execution. Pairs with perspective_create for the propose-then-save flow used by the perspective-author prompt: propose rules → preview matched tasks via this tool → commit via perspective_create. Custom perspectives require OmniFocus Pro; otherwise returns OF_FEATURE_REQUIRES_PRO. Do NOT use to evaluate a saved perspective — use perspective_evaluate. Returns { tasks: Task[] }. Side effects: creates and immediately deletes a sentinel-named temp perspective inside one OmniJS execution; the database state is unchanged after the call returns. Example: perspective_evaluate_dry_run({ aggregation: 'all', rules: [{ actionStatus: 'flagged' }] })
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rules | Yes | Top-level rule list to evaluate. Empty array means 'show everything' (matches every available task). Each rule is an atom (single action* predicate), an aggregate (compound rule with aggregateType + aggregateRules), or a disabled wrapper around either. | |
| aggregation | No | Top-level rule aggregation. One of "all", "any", "none". Defaults to "all" when omitted. |