capture_screenshot
Captures a clean PNG/JPEG screenshot of any public webpage with automatic cookie-banner and GDPR popup removal.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>"
},
"name": "capture_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public http:// or https:// webpage URL to capture. | |
| width | No | Viewport width in pixels (320-1920, default 1280). | |
| height | No | Viewport height in pixels (240-1440, default 800). | |
| darkMode | No | Emulate dark color scheme (default false). | |
| fullPage | No | Capture full scrollable page height (default false). | |
| selector | No | Optional CSS selector to crop capture to a specific DOM element. | |
| blockBanners | No | Automatically hide cookie consent banners (default true). | |
| hideSelectors | No | Optional CSS selectors to hide before capturing. |