browser_screenshot
Capture page or element screenshots in a controlled output directory to diagnose visual issues during frontend debugging.
Instructions
Capture a page or element screenshot in the controlled output directory.
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 |
|---|---|---|---|
| format | No | png | |
| quality | No | ||
| fullPage | No | ||
| selector | No | ||
| sessionId | No | Browser session ID; optional when exactly one session exists. |