get_textbox_text
Extract text from every text box and shape text frame in a Word document, including headers, footers, and legacy VML. Provides per-box paragraphs and shape names for precise content retrieval.
Instructions
Read the text inside every text box / shape text frame, per box, across the body, headers, and footers (modern drawings and legacy VML alike). Each box reports its text, paragraphs, part, anchoring body paragraph index (where determinable), and shape name. Use this instead of get_text for box content: the generic tools smear box text into the host paragraph (doubled by the mc:Fallback compatibility copy) with no boundary. box_index is the address set_textbox_text takes. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||