Look at a window
lookInspect a background window without bringing it forward: read its UI Automation tree or capture a native image, even when covered, and select it for the next action.
Instructions
See a window in the background, without bringing it forward: UI Automation tree (roles, names, ids, values, states) and, with mode image or both, a native capture that works even when the window is covered (WebP, at most 1568 px; unchanged since the last image sent: not attached again, mode image always attaches it). Selects that window for act; an observation serves one act and expires after 60 s.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | text (UI Automation tree, default), image (native capture), both | |
| marks | No | Numbers drawn on the image of mode both, each the index of its tree line: none (default), auto (unnamed controls), all | |
| region | No | [x1, y1, x2, y2] in pixels of the last native image of this window: that area enlarged up to 2x (small text); its own screenshotId takes points | |
| window | No | Window id from windows, or a unique part of its title or app; omitted: the window of the last look |