open_document
Open a .docx file to access and modify its content, including text, track changes, comments, and footnotes, by parsing the document's XML structure.
Instructions
Open a .docx file for reading and editing.
Unpacks the DOCX archive, parses all XML parts, and caches them in memory. Only one document can be open at a time; opening a new one closes the previous.
Args: path: Absolute path to the .docx file.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |