get_headings
Extract heading structure with levels, text, style, and paragraph IDs from Word documents for structural auditing and targeted edits.
Instructions
Get the document heading structure with levels, text, and paraIds.
Returns a list of headings in document order, each with:
level (1-9)
text (heading content)
style (e.g., "Heading1")
paraId (unique paragraph identifier for targeting edits)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_handle | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |