docx_compare_structure
Compare two DOCX files' internal structure to detect differences in paragraphs, tables, and content controls, with optional strictness and filtering.
Instructions
Read-only. Same validation report phrased as structural comparison. Defaults to the .NET Open XML backend when available.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"source_docx": "<source_docx>",
"target_docx": "<target_docx>"
},
"name": "docx_compare_structure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| engine | No | auto | |
| strict | No | ||
| source_docx | Yes | ||
| target_docx | Yes | ||
| touched_para_ids | No | ||
| touched_table_cells | No | ||
| touched_table_indices | No | ||
| touched_paragraph_indices | No | ||
| allow_paragraph_count_change | No | ||
| allow_table_dimension_change | No | ||
| touched_content_control_tags | No | ||
| allowed_added_content_control_tags | No |