getsnap
v1.14.5Screenshots, PDFs, visual diffs and accessibility audits, returned inline so a model can see them
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
capture_screenshot Capture a screenshot
Render a URL in a real browser and return the image, so you can see the page. Removes cookie banners and ad overlays by default. Costs 1 credit per call. Use full_page for the whole scrollable page, or device to emulate a phone or tablet.
| Parameter | Type | Description |
|---|---|---|
url * | string | The page to capture |
delay | integer | Extra wait in ms after load, for late content |
device | string | |
format | string | jpeg is markedly smaller and usually enough to read a layout |
full_page | boolean | Capture the whole scrollable page, not just the viewport |
return_image | boolean | false returns only the CDN URL, which keeps a large capture out of the context window |
viewport_height | integer | |
viewport_width | integer |
capture_pdf Capture a page as PDF
Render a URL to PDF and return a link to it. Costs 1 credit per call. A PDF cannot be shown to you inline - use capture_screenshot if you need to read the page yourself.
| Parameter | Type | Description |
|---|---|---|
url * | string | The page to render |
delay | integer | |
full_page | boolean |
compare_pages Compare two pages visually
Capture two URLs and compare them pixel by pixel. Returns a similarity score and an overlay image marking what changed, which you can look at. Costs 2 credits - it launches a browser per URL. Use for staging against production, or a page before and after a change.
| Parameter | Type | Description |
|---|---|---|
after_url * | string | |
before_url * | string | |
full_page | boolean | |
threshold | number | Per-pixel colour tolerance. Higher ignores more, e.g. antialiasing differences. |
audit_accessibility Audit a page for accessibility problems
Run axe-core against a URL in a real browser and return WCAG 2.0/2.1/2.2 violations by severity, with the elements responsible. Costs 1 credit per call. Returns structured findings rather than an image, so you can act on them directly.
| Parameter | Type | Description |
|---|---|---|
url * | string | |
max_violations | integer | Cap on violations returned, so a bad page does not flood the context |
check_usage Check remaining credits
How many credits are used and remaining on this key this period. Free - spends no credit.