validate_office_document
Validate unpacked Office documents against XSD schemas to check XML well-formedness, namespace declarations, unique IDs, file references, content types, and schema compliance.
Instructions
Validate an unpacked Office document against XSD schemas. Checks XML well-formedness, namespace declarations, unique IDs, file references, content types, and schema compliance. Returns detailed error messages for any issues found.
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": {
"unpacked_dir": "<unpacked_dir>",
"original_file": "<original_file>"
},
"name": "validate_office_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unpacked_dir | Yes | Path to unpacked Office document directory | |
| original_file | Yes | Path to original Office file for comparison | |
| verbose | No | Enable verbose output |