get_styles
Retrieve all defined styles in a Word document, including IDs, names, types, and explicit formatting. Trace style inheritance through the based_on chain to understand relationships.
Instructions
List the styles defined in the document: id, name, type, based_on, plus each style's EXPLICITLY defined paragraph_formatting and character_formatting in the exact shape define_style accepts (template cloning is one read + one define). Inherited values are not synthesized; follow the based_on chain. Exact/atLeast line spacing and theme font/color references have no define_style representation and are omitted. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |