get_headings
Extract heading structure from a Word document, including levels, text, styles, and paragraph IDs 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 |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |