convert_to_pdf
Convert web pages to PDF documents with configurable page formats and image inclusion options.
Instructions
Convert web page content to PDF format
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": "convert_to_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The URL to convert to PDF | |
| format | No | PDF page format (default: A4) | A4 |
| includeImages | No | Whether to include images in PDF (default: true) | |
| useCache | No | Whether to use cached content if available (default: true) |