getsnap

v1.14.5
dev.getsnap/getsnap Checked 3 hours ago Published 1 month ago

Screenshots, 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.

ParameterTypeDescription
url *stringThe page to capture
delayintegerExtra wait in ms after load, for late content
devicestring
formatstringjpeg is markedly smaller and usually enough to read a layout
full_pagebooleanCapture the whole scrollable page, not just the viewport
return_imagebooleanfalse returns only the CDN URL, which keeps a large capture out of the context window
viewport_heightinteger
viewport_widthinteger

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.

ParameterTypeDescription
url *stringThe page to render
delayinteger
full_pageboolean

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.

ParameterTypeDescription
after_url *string
before_url *string
full_pageboolean
thresholdnumberPer-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.

ParameterTypeDescription
url *string
max_violationsintegerCap 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.