pdfRender a URL or raw HTML to a PDF file with a headless browser. Returns the PDF bytes. Use for invoices, reports, receipts, archiving pages. Costs $0.009 USDC per call (x402).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| html | No | Raw HTML instead of url |