Take a screenshot
take_screenshotTake a screenshot of a public web page and return it as an image, a PDF or a video of the page scrolling. Needs the user's CurlShot access key (a key is free at https://curlshot.com/register, no card). Uses one screenshot of the monthly quota; failed renders and cache hits are free. The free plan includes 50 screenshots a month and needs no card. Prefer jpeg or webp to keep the image small. A result over 6 MB comes back as a download link (valid for about a day) instead of inline data.
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": "take_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Full address of the page, starting with http:// or https://. | |
| cache | No | Reuse a stored copy when the same request was made before. | |
| delay | No | Extra seconds to wait after the page has loaded. | |
| format | No | File format of the result. mp4, webm and gif record a video of the page scrolling from top to bottom. | jpeg |
| selector | No | Capture only the first element matching this CSS selector. | |
| block_ads | No | Block requests to ad networks. | |
| dark_mode | No | Ask the page for its dark theme. | |
| full_page | No | Capture the whole page, not just the first screen. | |
| wait_until | No | Page event that marks the page as loaded. | load |
| viewport_width | No | Width of the browser window in pixels. | |
| viewport_device | No | Emulate a device preset (see list_devices). | |
| viewport_height | No | Height of the browser window in pixels. | |
| block_cookie_banners | No | Hide cookie consent banners. |