wavexis_page_pdf
Generate a PDF from a web page with precise control over paper size, margins, orientation, scaling, and print settings. Use this low-level tool when you need exact output beyond simple PDF generation.
Instructions
Generate a PDF via the low-level Page.printToPDF CDP method.
Offers pixel-level control over paper size, margins, and print
options beyond wavexis_pdf. Use wavexis_pdf for simpler
high-level PDF generation.
Side effects: launches/acquires a browser backend, navigates to url
if provided; writes to output_path when given.
Returns: JSON string with keys: 'status' ('ok'/'error'), 'type'
('pdf'), 'base64' (str) or 'path' (str), 'size_bytes' (int).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |