get_headings
Extracts the heading structure from a Word document, returning each heading's level, text, style, and paragraph identifier for targeted editing.
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 |