pagesnap
v0.1.0Screenshot any public web page as an image, and check your remaining screenshot quota.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
take_screenshot Take a screenshot
Render a public web page in Chromium and return a screenshot. Use fullPage for the whole scrollable page; very tall pages come back as a link instead of an inline image, and a fullPage WebP capture of a page taller than 16383px is clipped to that height (reported as fullPageClip) — use jpeg or png for pages that tall.
| Parameter | Type | Description |
|---|---|---|
url * | string | Public http(s) URL to capture, e.g. 'https://example.com'. |
format | string | Image format. webp and jpeg are much smaller than png. |
fullPage | boolean | Capture the full scrollable page. |
height | integer | Viewport height in CSS pixels. Values above the service maximum are clamped. |
locale | string | BCP 47 locale, e.g. de-DE. |
timezoneId | string | IANA time zone, e.g. Europe/Berlin. |
waitForSelector | string | CSS selector that must appear before capturing. |
waitUntil | string | Navigation event to wait for before capturing. |
width | integer | Viewport width in CSS pixels. Values above the service maximum are clamped. |
get_quota Get remaining quota
How many screenshots are left: the free daily allowance without a key, or the organisation's monthly allowance with one.