document_insert_text
Insert text into LibreOffice Writer documents at specific positions: beginning, end, or after headings. Use to add content with paragraph styles.
Instructions
Insert text into a Writer document at a specified position. Position options: 'start' (beginning), 'end' (end of document), or after a specific heading text.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| docId | Yes | Document handle returned by document_open | |
| text | Yes | Text content to insert | |
| position | No | Where to insert: start, end, or after_heading | end |
| headingText | No | Required when position is after_heading: the heading text to insert after | |
| style | No | Paragraph style (e.g., "Heading 1", "Normal"). Default: Normal |