Screenshot a shared tab
browser_screenshotCapture the visible viewport or a CSS-pixel rect of a shared browser tab, returning a bounded JPEG/PNG image and optional local file path for visual inspection.
Instructions
Capture the visible viewport (or a CSS-pixel rect) of a shared tab and return the image so you can look at it. Output is bounded (longest side <= 1600 px, small JPEG). The result also names a local image file: if you cannot see the inline image, open that file with your image viewer (for example view_image) and answer from what you actually see, never from guesses. The screenshot is a short-lived artifact (artifact_id) that expires when sharing ends. Needs the user to have allowed screenshots.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rect | No | Page-relative CSS pixels. Omit for the current viewport. | |
| format | No | Default jpeg (smaller). png is lossless but may be too large to show inline. | |
| context_id | Yes | Context id from browser_contexts, for example tab:12. | |
| local_file | No | Also return the path of the stored image file so a host with its own image viewer can open it. Default true: some hosts do not pass inline MCP images to the model, but can open a local file. | |
| request_id | No | Stable id for this logical action. Reuse the SAME id to retry or reconcile it; never reuse it for a different action. Omit to have one generated and returned. | |
| include_image | No | Default true. Set false to only get the artifact metadata. | |
| browser_instance_id | No | Only needed when several Firefox profiles are connected. |