edge_take_screenshot
Capture screenshots of the active page or a specific CSS selector, optionally full-page, and return base64 image data or save directly to a file path.
Instructions
Capture a screenshot of the active page or a specific selector. Can return base64 image data or save directly to a file path.
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": "edge_take_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Image format (default: png) | |
| quality | No | JPEG quality 1-100 (only applicable when type is 'jpeg') | |
| filePath | No | Absolute file path to save image (e.g. C:/screenshots/page.png). If omitted, returns base64 image. | |
| fullPage | No | Capture the entire scrollable page height (default: false) | |
| selector | No | Optional CSS selector to screenshot only that specific element |