browser_screenshot
Capture a webpage or element as an image for viewing, returned for inspection and saved to disk.
Instructions
Screenshot of the page (or one element). The image is returned so you can see it, and saved to disk.
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 |
|---|---|---|---|
| ref | No | Element ref from browser_snapshot, e.g. "e12" | |
| text | No | Visible text to match (alternative to ref) | |
| fullPage | No | ||
| selector | No | CSS or Playwright selector (alternative to ref) |