Convert Word to PDF
word_to_pdfConvert a Word .docx file to a new local PDF with selectable text; returns page count and simplification notes without uploading the file.
Instructions
Converts a Word document (.docx) to a NEW PDF on this computer, with real, selectable text. Returns the page count and any simplifications made (e.g. skipped text boxes). Never uploads the file.
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": "word_to_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Language for the step descriptions and messages. | |
| path | Yes | The .docx file, inside an allowed folder. | |
| engine | No | Word engine. native: built-in; libreoffice: local LibreOffice install; auto (default): built-in, falling back to LibreOffice if content had to be dropped. All local. | |
| output | No | Path of the new PDF. Defaults to the same name with .pdf. | |
| overwrite | No |