Web Page to PDF (ConvertAPI)
document.convert.web_to_pdfRender any web page URL to a PDF with full JavaScript execution. Customize viewport width, load lazy content, and set a wait delay. Returns a download URL.
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
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Web page URL to render as PDF (e.g. "https://example.com") | |
| viewport_width | No | Browser viewport width in pixels (default 1280) | |
| delay | No | Seconds to wait after page load before capturing (default 0) | |
| load_lazy_content | No | Scroll page to trigger lazy-loaded images (default false) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. | |
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. |