create_pdf
Convert any web page to a PDF by providing its URL. Optionally set page format, wait time, and auto-delete expiry.
Instructions
This tool converts a web page into a PDF using RenderForm.
Provide 'url' (required).
Optionally provide 'format' (A5, A4, A3, LETTER or LEGAL - defaults to A4), 'waitTime' (ms, 0-5000) before capturing, and 'expires' (seconds, 1-604800) to auto-delete the generated PDF.
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": "create_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL of the page to capture as a PDF. | |
| format | No | Output page format of the PDF. Defaults to A4. | |
| expires | No | Automatically delete the generated PDF after this many seconds (1-604800). | |
| waitTime | No | Wait time in milliseconds before capturing the PDF (0-5000). |