insert_paragraphs
Insert paragraphs into Word documents at a specified location, with optional formatting and heading levels. Supports live editing, tracked changes, and validated saves to keep documents accurate.
Instructions
Insert paragraphs (items {text, style?, formatting?, heading_level?}) at a location object (omitted = document end). heading_level 1-9 makes the item a heading (level 1 = outline 0). inherit_format/copy_format_from clone neighbor formatting minus outline level (file mode only); track records insertions by author. Auto-backup in file mode; atomic validated save. Open documents edit live, serialized; a stale text-selector target refuses: save in Word, retry. For batches, use apply_edits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| live | No | auto | |
| track | No | ||
| author | No | Claude | |
| backup | No | ||
| location | No | ||
| file_path | Yes | ||
| paragraphs | Yes | ||
| inherit_format | No | ||
| copy_format_from | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||