browser_take_screenshot
Capture full-page or element screenshots as PNG/JPEG for visual verification, debugging, or file saving.
Instructions
Capture a screenshot of the page or a specific element.
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_take_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | ||
| saveAs | No | If set, also write the image to this absolute path. | |
| target | No | If set, screenshot just this element (ref or selector). | |
| element | No | ||
| quality | No | ||
| fullPage | No |