browser_screenshot
Capture a PNG or JPEG screenshot of the focused browser tab, or target a specific tab, with full-page and save-to-path options.
Instructions
Capture a visual PNG screenshot of a browser tab (the focused one unless tabId is given).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "browser_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Element reference from browser_snapshot (e.g. "@e12"). Preferred over index; also used to target a scroll container. | |
| tabId | No | Optional browser tab id to act on instead of the focused tab. | |
| format | No | ||
| saveTo | No | Absolute local output path. Existing files are not overwritten. | |
| quality | No | ||
| fullPage | No |