office-to-pdf
Convert Word, Excel, and PowerPoint files to PDF from file paths or URLs.
Instructions
Convert Microsoft Office documents (Word, Excel, PowerPoint) to PDF
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": "office-to-pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Office document file path or URL to convert (supports .doc, .docx, .xls, .xlsx, .ppt, .pptx) | |
| outputDir | No | Output directory path | |
| outputFilename | No | Custom output filename |