wavexis_pdf
Generate a PDF document directly from any web page. Specify URL, paper size, margins, and orientation to create print-ready files.
Instructions
Generate a PDF document from a web page.
Use wavexis_screenshot for image capture, or wavexis_page_pdf
when pixel-level control over paper size and margins is required.
Side effects: launches/acquires a browser backend, navigates to url
if provided, optionally evaluates js; writes to output_path when
given.
Returns: JSON string with keys: 'status' ('ok'/'error'), 'base64'
(str) or 'path' (str), 'size_bytes' (int).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"input": "<input>"
},
"name": "wavexis_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |