edit_docx_insert
Insert new paragraphs into a docx file at specified positions or the end. Accepts multiple inserts with text and optional paragraph index, returns a git-style diff of changes. Use for precise document editing.
Instructions
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. |
Input Schema (JSON Schema)
You must be authenticated.
Other Tools from MCP Server Office
Related Tools
- @famano/mcp-server-office
- @shariqriazz/vertex-ai-mcp-server
- @alekspetrov/mcp-docs-service
- @skydeckai/mcp-server-aidd
- @GongRzhe/Office-Word-MCP-Server