Visible page snapshot
visible_snapshotGet a viewport-aware snapshot of visible page elements, including refs, labels, roles, bounds, and scroll metadata, to interact with the current browser view.
Instructions
Return a viewport-aware snapshot with visible/intersecting elements, refs, labels, roles, bounds, and scroll metadata. Iframe bounds use frameViewport coordinates.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| tabId | No | Optional Chrome tab id. Defaults to the claimed session tab, then the active tab. | |
| documentId | No | Exact frame document id returned by list_frames. Omit to target the current top document. | |
| sessionTabId | No | Optional claimed tab session id returned by claim_tab. |