office_to_pdf
Convert Word, Excel, and PowerPoint documents to PDF. Accepts .doc, .docx, .xls, .xlsx, .ppt, .pptx files.
Instructions
Convert a Microsoft Office document (Word, Excel, or PowerPoint) to a PDF. Accepts .doc, .docx, .xls, .xlsx, .ppt, and .pptx files.
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": {
"input_file": "<input_file>"
},
"name": "office_to_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_file | Yes | Path to a Microsoft Office file (.doc, .docx, .xls, .xlsx, .ppt, .pptx). | |
| output_path | No | Optional output path. If it ends with the expected extension, the file is written there. If it is a directory, the file is placed inside with a timestamped name. Defaults to the same directory as the first input. |