edit_docx_paragraph
Replace a specific paragraph in a DOCX file by its index with new text. Optionally save to a different path.
Instructions
Edit a paragraph in an existing DOCX file by index
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | Paragraph index (0-based) | |
| new_text | Yes | New text for the paragraph | |
| file_path | Yes | Absolute path to the .docx file | |
| output_path | No | Save to different path (omit to overwrite) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |