convert_docx_to_html
Convert Microsoft Word DOCX files to clean HTML while preserving formatting, tables, and lists. This tool transforms document content for web use.
Instructions
Convert a DOCX file to HTML using mammoth. Supports reading from a file path and returns the HTML content.
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": {
"filePath": "<filePath>"
},
"name": "convert_docx_to_html"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Absolute path to the DOCX file to convert |