validate_and_report
Validates an XML instance against an SDC4 XSD schema and returns a detailed report separating structural and semantic errors, with optional SDC4 compliance checks.
Instructions
Validate an XML instance and return a detailed report with two-tier error classification (structural vs semantic).
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": {
"schema_path": "<schema_path>",
"instance_path": "<instance_path>"
},
"name": "validate_and_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema_path | Yes | Path to the SDC4 data model XSD file. | |
| instance_path | Yes | Path to the XML instance file to validate. | |
| check_compliance | No | Check schema follows SDC4 principles. Default true. |