Insert Paragraphs
insert_paragraphsInsert paragraphs into Word docs at any location, with formatting, headings, and live editing. Supports tracked changes and auto-backup.
Instructions
Insert paragraphs (items {text, style?, formatting?, heading_level?, paragraph_format?}) at a location object (omitted = document end). heading_level 1-9 makes it a heading (1 = outline 0). paragraph_format takes set_paragraph_format keys; it and inherit_format/copy_format_from (clone neighbor formatting minus outline level) are file mode only. track records insertions by author. Auto-backup; atomic save. Open documents edit live; a stale text-selector target refuses: save in Word, retry. Batches: apply_edits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| live | No | auto: file or live; force: live; off: refuse | 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 | |||