captureScreenshot
captureScreenshotCaptures a PNG screenshot of any web page using KnockKnock Browser (headless Chromium) with desktop or mobile viewport emulation.
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": "captureScreenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| geo | No | Optional country code for residential proxy routing (e.g. 'US'). | |
| url | Yes | Target web page URL to capture. | |
| device | No | Viewport profile ('desktop' 1440x900 or 'mobile' 390x844). | |
| devices | No | Optional array of viewports to capture in a single session (e.g. ['desktop', 'mobile']). |