docx
Perform document operations on Word and DFM files: read, write, convert, extract content, and track revisions via a single op-based API.
Instructions
Consolidated DOCX/DFM entrypoint.
The legacy DOCX tools remain registered and keep their original parameters and output formats. This wrapper only adds an operation-based facade.
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": {
"op": "<op>"
},
"name": "docx"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | Yes | ||
| force | No | ||
| doc_id | No | ||
| strict | No | ||
| from_md | No | ||
| block_id | No | ||
| file_path | No | ||
| max_chars | No | ||
| dfm_content | No | ||
| output_path | No | ||
| track_changes | No | ||
| revision_author | No | Asset-Aware MCP |