Get DOCX styles
get_styles_from_docxRead paragraph style definitions from a .docx file in paginated batches. Returns style data with pagination metadata; merge batches before writing styles back.
Instructions
Read a paginated batch of paragraph style definitions from a .docx file. Returns paragraph_styles, total, offset, limit, and has_more. The section field (page size and margins) is included only in the first batch (offset=0). Merge all batches client-side before calling write_styles_to_docx.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Path to the template or source .docx file. Provided by the MCP client. | |
| offset | No | Zero-based index of the first paragraph style to return. | |
| limit | No | Maximum styles per batch (1-200, default 25). |