get_text
Read Word paragraphs as structured entries with index, text, and style; slice by range or filter by content, with optional textbox extraction for complete coverage.
Instructions
Read body paragraphs as [{index, text, style, ...}]; every paragraph reports its effective style, including the default (usually Normal). start/end slice by paragraph index (0-based, end EXCLUSIVE); contains filters to matching paragraphs. include_textboxes=True appends text-box content as labeled extra entries (source 'textbox', box_index addressing set_textbox_text) without touching body indices; file-mode only. Documents open in Word are read live with the same shape (live styles are Word's localized display names; file styles are style ids). Equations are invisible here (list_equations reads those).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | ||
| live | No | auto | |
| start | No | ||
| contains | No | ||
| file_path | Yes | ||
| include_textboxes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |