Get DOCX contents
get_contents_from_docxRetrieve paginated paragraphs and tables from DOCX files. Loop with offset and limit until all content is fetched.
Instructions
Read a paginated batch of content blocks (paragraphs and tables) from a .docx file. Returns items, total, offset, limit, and has_more — loop with increasing offset until has_more is false. Blocks carry style name references only; use get_styles_from_docx for full style definitions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Path to the .docx file. Provided by the MCP client in each tool call, not in server build or MCP host config. | |
| offset | No | Zero-based index of the first content block to return. | |
| limit | No | Maximum blocks per batch (1-200, default 10). |