capture_screenshot
Capture the live Chromium page as a lossless PNG for visual inspection and UAT; choose viewport, full-page, region, or element mode.
Instructions
Capture the live Chromium-composited web page as a lossless PNG for visual inspection and UAT. Supports the current viewport, the full rendered document, an exact page/viewport region, or an element selected by CSS or an FSB element ref. Includes CSS, web fonts, SVG, canvas, images, open shadow DOM, and runtime state; browser chrome and the desktop are not included. FSB overlays are hidden by default and restored after capture. MCP returns a native image and private managed file; autopilot attaches the image transiently to the model without creating a file. Responsive desktop/mobile emulation is temporary and never spoofs the user agent or reloads the page. Multi-agent: agent-scoped tabs; cross-agent reject with TAB_NOT_OWNED. Pass tab_id only to disambiguate an owned tab.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | Region left edge in CSS pixels. Region mode only. | |
| y | No | Region top edge in CSS pixels. Region mode only. | |
| mode | No | Capture mode. Defaults to viewport. | |
| width | No | Region width in CSS pixels. Region mode only. | |
| height | No | Region height in CSS pixels. Region mode only. | |
| tab_id | No | Optional owned tab id. Omit when the calling agent owns exactly one tab. | |
| wait_ms | No | Additional settle delay from 0 through 5000 ms after font readiness and two animation frames. Defaults to 250. | |
| selector | No | CSS selector or FSB element ref. Element mode only. | |
| device_mode | No | Use current metrics or temporary responsive emulation. Viewport dimensions without this field imply desktop. | |
| orientation | No | Mobile screen orientation. Mobile mode only; defaults to auto. | |
| viewport_width | No | Temporary viewport width in integer CSS pixels. Desktop/mobile require both dimensions. | |
| viewport_height | No | Temporary viewport height in integer CSS pixels. Desktop/mobile require both dimensions. | |
| coordinate_space | No | Region coordinate space. Valid only for region mode; defaults to viewport. | |
| device_scale_factor | No | Temporary emulated device scale factor from 1 through 4; defaults to 1 while emulating. | |
| include_fsb_overlays | No | Capture FSB overlays instead of temporarily hiding them. Defaults to false. |