snapforge

v1.3.0
org.snapforge/snapforge Checked 2 days ago Published 4 months ago

Screenshots, PDFs and Markdown from any URL or HTML for AI agents, via the SnapForge API

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

snapforge_screenshot SnapForge screenshot

Capture a screenshot of a public URL or raw HTML and return it as an image (PNG/JPEG). Full-page by default.

ParameterTypeDescription
delayintegerExtra wait in milliseconds before capture (0–10000)
formatstringImage format: "png" (default) or "jpeg"
fullPagebooleanCapture the full scrollable page (default true)
heightintegerViewport height in pixels (100–2160)
htmlstringRaw HTML to render instead of a URL (max 2MB). Provide either url or html.
qualityintegerJPEG quality 1–100 (ignored for PNG)
scaleintegerDevice pixel ratio for high-DPI/retina output (1–3)
urlstringPublic http/https URL to render. Provide either url or html.
waitUntilstringWhen to consider the page ready: "load" (default) or "networkidle"
widthintegerViewport width in pixels (100–3840)

snapforge_pdf SnapForge PDF

Render a public URL or raw HTML to a PDF. The PDF is written to a temp file and its path is returned.

ParameterTypeDescription
delayintegerExtra wait in milliseconds before capture (0–10000)
htmlstringRaw HTML to render instead of a URL (max 2MB). Provide either url or html.
landscapebooleanLandscape orientation (default false)
marginstringCSS size applied to all margins, e.g. "1cm"
pageFormatstringPaper size when paginating (default A4)
printBackgroundbooleanInclude CSS background colors and images (default true)
singlePagebooleanOutput one continuous page sized to the content height (no A4 pagination)
urlstringPublic http/https URL to render. Provide either url or html.
waitUntilstringWhen to consider the page ready: "load" (default) or "networkidle"

snapforge_markdown SnapForge URL to Markdown

Extract a clean Markdown version of a public URL or raw HTML (article extraction + HTML→Markdown). Great for feeding live web content to an LLM.

ParameterTypeDescription
delayintegerExtra wait in milliseconds before capture (0–10000)
htmlstringRaw HTML to render instead of a URL (max 2MB). Provide either url or html.
urlstringPublic http/https URL to render. Provide either url or html.
waitUntilstringWhen to consider the page ready: "load" (default) or "networkidle"

snapforge_signup SnapForge signup (free API key)

Create a free SnapForge account (100 renders/month) with just an email address and get the API key instantly. The key becomes active for this session immediately; persist it later as the SNAPFORGE_API_KEY environment variable.

ParameterTypeDescription
email *stringEmail address to attach the API key to (the key is also emailed there)