screenshot
Capture a full page or a specific element as a base64 PNG image for visual inspection and debugging of UI states.
Instructions
Take a screenshot of the page or a specific element. Returns base64 PNG image.
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": "screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fullPage | No | Capture full scrollable page (default: false) | |
| selector | No | CSS selector to screenshot specific element |