validate_pain001
Validate a pain.001 XML message against its XSD schema, returning a structured report of all violations found across the entire message for efficient debugging.
Instructions
Validate a pain.001.001.09 message against its XSD.
Returns a structured ValidationReport listing every XSD violation found, with line/column/path information. Unlike parse_pain001, this does not stop at the first error — all violations are reported so the user can fix them in one pass.
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": {
"xml": "<xml>"
},
"name": "validate_pain001"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xml | Yes | The pain.001 XML message as a string. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |