Convert document format
pdf_convert_documentConvert an Office or OpenDocument file (DOC/DOCX/XLS/XLSX/PPT/PPTX/ODT/ODS/ODP/RTF/TXT/HTML/CSV/EPUB) to another format, most often PDF, via the server-side LibreOffice engine. Use this when the user needs a document converted.
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": "<file>"
},
"name": "pdf_convert_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Base64-encoded file bytes (no data: URL prefix). | |
| target | No | ||
| filename | No | Original file name including extension. |