URL to PDF
document.pdf.from_urlConvert any web page URL into a PDF with full JavaScript rendering. Use for archiving, report generation, or printable snapshots.
Instructions
Capture any web page URL as a PDF using headless Chrome with full JS rendering — perfect for archiving pages, generating reports from dashboards, or creating printable snapshots. Returns temporary PDF download URL (API2PDF)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL to capture as PDF (e.g. "https://example.com/report") | |
| fileName | No | Output filename (e.g. "snapshot.pdf") | |
| options | No | PDF rendering options |
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. |