HTML в PDF
html_to_pdfКонвертирует HTML-файл в PDF. file_url: публичный URL HTML-файла. page_size: A4 (по умолчанию) | A3 | Letter. orientation: portrait (по умолчанию) | landscape.
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": {
"file_url": "<file_url>"
},
"name": "html_to_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_url | Yes | ||
| page_size | No | A4 | |
| orientation | No | portrait |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||