take_screenshot
Capture screenshots of the current page, full scrollable page, or a specific element and return them as base64 images for visual inspection or documentation.
Instructions
Capture a screenshot of the page (returns base64 PNG)
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": "take_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | No | Tab ID (optional) | |
| format | No | Image format (default png) | |
| quality | No | JPEG quality 0-100 (if format is jpeg) | |
| fullPage | No | Capture full scrollable page (default false) | |
| selector | No | CSS selector to screenshot a specific element |