Screenshot
browser_screenshotCapture a JPEG image of the browser viewport or a single element by ref, so you can verify layout, images, and canvas rendering visually when text output is not enough.
Instructions
Takes a JPEG picture of the viewport, or of one element by ref. Meant for when layout, images or a canvas matter; for everything else the text tools say more for less.
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 | Ref of one element to picture; leave it out for the whole viewport (e12, f2e7 …), as browser_snapshot or browser_find showed it. | |
| profile | No | Which browser profile (a separate signed-in session) to use. Leave it out for the default one; name another only when the user's task names it. Profiles: default. | default |