Website screenshot
screenshotCapture a public web page as a PNG, JPEG or WEBP image: any viewport size, full page, retina scaling, optional cookie-banner hiding. Free tier only (credits do not apply to this tool). Output: a file (image/png | image/jpeg | image/webp) returned inline, at most 1 MiB. The screenshot
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": "screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public http(s) URL (robots.txt is honoured), or an inline data:text/html URL | |
| width | No | Viewport width in CSS px | |
| format | No | png | |
| height | No | Viewport height in CSS px | |
| quality | No | jpeg / webp quality | |
| delay_ms | No | Extra wait after load, before the shot | |
| full_page | No | Capture the whole scrollable page (capped at 16384 CSS px / 50 megapixels) | |
| device_scale_factor | No | Pixel density (2 = retina) | |
| block_cookie_banners | No | Hide common cookie-consent dialogs (best effort) |