Render any webpage to a PDF file using headless Chromium and receive it as base64-encoded output.
Instructions
Render a webpage to PDF and return it as a base64-encoded PDF.
Keyless — navigates and renders directly, no LLM. Headless only (Chromium prints PDF only in headless mode).
Args: url: URL to render
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": "pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |