word_append_paragraph
Append a paragraph or heading to the end of a Word document. Supports optional style and backup to preserve the original file.
Instructions
Append a paragraph or heading to the end of a Word document (.docx).
Args:
file_path: Path to the Word document.
text: Text to append.
style: Optional style (e.g., 'Heading 1', 'Heading 2', 'List Bullet', or None for normal body).
backup: If True, create a backup of the original file before modifying.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| style | No | ||
| backup | No | ||
| file_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |