MCP Server Office
by famano
edit_docx_insert
Insert new paragraphs into a docx file. Accepts a list of inserts with text and optional paragraph index. Each insert creates a new paragraph at the specified position. If paragraph_index is not specified, the paragraph is added at the end. When multiple inserts target the same paragraph_index, they are inserted in order. Returns a git-style diff showing the changes made.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
inserts | Yes | Sequence of paragraphs to insert. | |
path | Yes | Absolute path to file to edit. It should be under your current working directory. |