xml_validate
Validate XML well-formedness against optional XSD schema. Reports errors with line/column numbers, with network and DTD fetches disabled to prevent XXE attacks.
Instructions
Validate XML well-formedness; with optional XSD schema. Reports errors with line/column. Network and DTD fetches are disabled (no XXE risk).
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": "xml_validate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xml | Yes | ||
| schema | No | Optional XSD source. |