Get Screenshot
getScreenshotCapture a base64 screenshot of the full page or top viewport. Browser rendering is always enabled.
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": "getScreenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Absolute HTTP or HTTPS URL of the page to process. | |
| html | No | Whether to include the page HTML in the response. | |
| proxy | No | Custom proxy URL used to load the page. | |
| super | No | Whether to route the request through real devices. | |
| geoCode | No | Two-letter country code to load the page from, sent in lowercase. | us |
| timeout | No | Page load timeout in seconds, from 1 to 300. The HTTP request allows 30 additional seconds. | |
| markdown | No | Whether to include the page Markdown in the response. | |
| waitUntil | No | Navigation completion event to wait for: domcontentloaded, load, networkidle0, or networkidle2. | domcontentloaded |
| maxRetries | No | Maximum number of retries, as a nonnegative integer. Omit this parameter for no limit. | |
| saveResult | No | Whether to save the result to the dashboard Result tab. | |
| screenshot | No | Screenshot area to capture: full for the entire page or top for the top viewport. | full |
| proxyCountry | No | Two-letter country code of the proxy server, sent in lowercase. | us |
| returnCookie | No | Whether to include browser session cookies in the response. | |
| blockResources | No | Whether to block images, fonts, and stylesheets while loading the page. | |
| waitForSelector | No | Wait for the page to contain the specified CSS selector before returning the result. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Parsed response JSON or text. | |
| error | No | ||
| headers | Yes | Response headers with credentials removed. | |
| status_code | Yes | Upstream HTTP status, or null for a network failure. |