validate_rule_xml
Validate a Wazuh rule draft for XML syntax, OS_Regex pitfalls, and rule ID collisions without applying or deploying it.
Instructions
Check a rule draft for XML syntax, OS_Regex pitfalls and rule ID collisions. Never applies it.
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_rule_xml"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | environment id (list_environments) | |
| xml | Yes |