Capture layered page snapshots
browser_snapshot_layersCaptures multiple 1280x800 PNG snapshots from the top of the current page to cover several viewports at once, while leaving the session scroll position unchanged.
Instructions
Captures up to max_layers PNGs from the top of the current document, one 1280x800 viewport per layer, without changing the session scroll position. Use this for multi-viewport page coverage; use browser_screenshot for only the current viewport. An omitted session_id targets the active/default session. Returns layer count, offsets, dimensions, and base64 PNG data; max_layers defaults to 3 and is capped at 10.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_layers | No | Maximum number of screen-sized viewport layers to capture (default 3). | |
| session_id | No | Optional browser tab/session identifier. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||