browser_screenshot
Capture a screenshot of the current page or a specific element. Save it to a file path with optional full-page capture.
Instructions
Take a screenshot of the page or an 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_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | File path to save the screenshot | |
| fullPage | No | Capture the full scrollable page | |
| selector | No | Selector for element to screenshot (full page if not provided) | |
| sessionId | No | Browser session ID |