Save a web page as PDF
page_to_pdfRenders a public page to a PDF and returns a link to the file (kept about 4 hours; PDFs are not shown inline). Each render counts against the account's plan.
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": {
"url": "<url>"
},
"name": "page_to_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public address of the page | |
| paper | No | Paper size, like a4 or letter | |
| margin | No | Margin on every side, like 10mm | |
| options | No | ||
| landscape | No | ||
| wait_until | No | ||
| print_background | No |