Skip to main content
Glama

document.convert.web_to_pdf

Convert web pages to PDF documents with JavaScript support, customizable viewport settings, and options for lazy-loaded content.

Instructions

Render any web page URL to PDF with full JavaScript execution — custom viewport width, lazy content loading, wait delay. Returns PDF download URL (ConvertAPI)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesWeb page URL to render as PDF (e.g. "https://example.com")
viewport_widthNoBrowser viewport width in pixels (default 1280)
delayNoSeconds to wait after page load before capturing (default 0)
load_lazy_contentNoScroll page to trigger lazy-loaded images (default false)
Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/whiteknightonhorse/APIbase'

If you have feedback or need assistance with the MCP directory API, please join our Discord server