check_docx_structure
Extract structural facts from a .docx file—heading hierarchy, TOC consistency, headers/footers, page numbering, styles, list numbering, and captions—returning anomaly flags for pre-delivery review.
Instructions
Extract structural facts from a .docx file: heading hierarchy, TOC consistency, header/footer consistency, page-numbering-field presence, orphaned/empty styles, list-numbering restarts, and image/table caption presence + sequencing. Returns facts and anomaly flags only — never a verdict on correctness (see the server's global instructions).
Accepts the document either as a filesystem path OR as inline
content_base64 (with filename required alongside it) —
useful when the .docx only exists in the conversation (e.g. a
file uploaded directly in chat) rather than saved to disk.
Exactly one of the two input forms must be given.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "check_docx_structure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| filename | No | ||
| content_base64 | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| lists | Yes | ||
| format | Yes | ||
| styles | Yes | ||
| captions | Yes | ||
| headings | Yes | ||
| page_numbering | Yes | ||
| headers_footers | Yes | ||
| heading_hierarchy | Yes | ||
| table_of_contents | Yes | ||
| table_of_contents_flags | Yes |