browser_screenshot
Capture the current viewport or full page as a PNG file and get its absolute file path and image size for visual verification.
Instructions
Take a screenshot of the current viewport and save it as a PNG file.
Returns the absolute file path and image size. Does NOT show the image to the model — use browser_snapshot for content.
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 |
|---|---|---|---|
| filename | No | Optional file name; saved under the screenshot dir. | |
| full_page | No | Capture the whole scrollable page. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |