render_pdf
Renders raw HTML/CSS or a public URL into a print-ready PDF document (A4, Letter, etc.) and returns a base64 resource plus a 5-minute download link.
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": "render_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Public URL to convert into PDF (if html is omitted). | |
| html | No | HTML/CSS markup to render into PDF. | |
| format | No | Page size (default A4). | |
| landscape | No | Landscape orientation (default false). |