office_convert_to_pdf
Convert DOCX, XLSX, or PPTX files to PDF with LibreOffice when available, specifying an input path and optional output path or overwrite setting.
Instructions
Convert an XLSX, DOCX, or PPTX file to PDF using LibreOffice when available.
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": {
"path": "<path>"
},
"name": "office_convert_to_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path or path relative to the server working directory | |
| overwrite | No | ||
| outputPath | No | Absolute path or path relative to the server working directory |