Page snapshot
browser_snapshotCapture a compact, ref-tagged snapshot of a webpage to read its content, providing references for subsequent interactions like clicking or typing.
Instructions
Capture a compact, ref-tagged snapshot of the page. This is the primary way to read a page — cheaper and more reliable than a screenshot. Refs ([ref=eN]) are what you pass to click/type/hover.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | interactive (default) = landmarks + headings + controls; full = everything; minimal = flat list of controls | |
| boxes | No | Include each element's bounding box as [box=x,y,w,h] in CSS pixels | |
| depth | No | Limit the depth of the snapshot tree | |
| target | No | Limit the snapshot to this CSS selector (or a ref from a previous snapshot) | |
| filename | No | Save the snapshot to this file instead of returning it |