browser_screenshot
Capture the shared browser tab as a viewport, element, or full-page screenshot, optionally annotating interactive element refs for reliable clicking and hovering.
Instructions
Screenshot the shared tab: the viewport (default), one element, or the full page. Viewport images are in CSS pixels, so x/y read from them work with browser_click/browser_hover. Set annotate=true to draw every snapshot ref (e.g. "e12") on the elements it belongs to; the matching snapshot is returned too.
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 ref to capture | |
| annotate | No | Label interactive elements with their refs (viewport only) | |
| fullPage | No | Capture the whole page. It visibly resizes and scrolls the live page, so only use it when the user asks for it |