TakeScreenshot
SnapRender_TakeScreenshotCapture public web pages as screenshots or PDFs in a real Chrome browser and return a shareable link for messages, documents, or tickets.
Instructions
Capture a screenshot or PDF of a web page in a real Chrome browser.
Returns screenshot_url, a link anyone can open to view or download the file, so it can be pasted into a message, document or ticket. Each capture uses one credit from the SnapRender monthly allowance. If the same page with the same options was captured in the last 24 hours, that copy is returned for free. Pages behind a login and private networks cannot be captured.
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": "SnapRender_TakeScreenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public page to capture, a full URL starting with https:// or http:// | |
| delay | No | Extra milliseconds to wait after the page loads, 0 to 10000 | |
| width | No | Viewport width in CSS pixels, 320 to 3840 | |
| device | No | Phone, tablet or laptop preset. It sets the screen size and user agent and overrides width and height | |
| format | No | Output format: png (default), jpeg, webp, or pdf | |
| height | No | Viewport height in CSS pixels, 200 to 10000 | |
| quality | No | JPEG and WebP quality, 1 to 100. Ignored for png and pdf | |
| block_ads | No | Block ads and trackers | |
| dark_mode | No | Ask the page for its dark color scheme | |
| full_page | No | Capture the whole scrollable page instead of only the first screen | |
| click_selector | No | CSS selector to click before the capture, e.g. to close a popup | |
| hide_selectors | No | Comma-separated CSS selectors to hide before the capture, e.g. '.chat,#promo' | |
| link_expires_in | No | How long the returned screenshot link works, in seconds, 60 to 2592000 | |
| include_image_data | No | Also return the file itself as a base64 data URI. It is large, so leave this off unless code needs the bytes | |
| block_cookie_banners | No | Remove cookie consent banners |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||