browser_take_screenshot
Capture a screenshot of the current browser page or a specific element, saving it as PNG, JPEG, or WebP. Use it to visually document pages you are browsing without switching tools.
Instructions
Take a screenshot of the current page. You can't perform actions based on the screenshot, use browser_snapshot for actions.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"scale": "<scale>"
},
"name": "browser_take_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Default: from filename, else png | |
| scale | Yes | css pixels (smaller) or device pixels | css |
| target | No | Snapshot ref or unique selector | |
| element | No | Element description for the approval prompt | |
| filename | No | Workspace-relative file; default page-{timestamp} in the output dir | |
| fullPage | No | Full scrollable page; not with target |