SnapForge screenshot
snapforge_screenshotCapture a screenshot of a public URL or raw HTML, returning it as a PNG or JPEG image. Supports full-page capture, custom viewport, delay, and scale.
Instructions
Capture a screenshot of a public URL or raw HTML and return it as an image (PNG/JPEG). Full-page by default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Public http/https URL to render. Provide either url or html. | |
| html | No | Raw HTML to render instead of a URL (max 2MB). Provide either url or html. | |
| delay | No | Extra wait in milliseconds before capture (0–10000) | |
| scale | No | Device pixel ratio for high-DPI/retina output (1–3) | |
| width | No | Viewport width in pixels (100–3840) | |
| format | No | Image format: "png" (default) or "jpeg" | |
| height | No | Viewport height in pixels (100–2160) | |
| quality | No | JPEG quality 1–100 (ignored for PNG) | |
| fullPage | No | Capture the full scrollable page (default true) | |
| waitUntil | No | When to consider the page ready: "load" (default) or "networkidle" |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bytes | Yes | Size of the image in bytes | |
| mimeType | Yes | Image MIME type, e.g. image/png | |
| savedPath | Yes | Absolute path to the saved image file |