validate_waf_rule
Validate CrowdSec WAF rule YAML syntax to prevent configuration errors.
Instructions
Validate that a CrowdSec WAF rule YAML is syntactically correct
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": {
"rule_yaml": "<rule_yaml>"
},
"name": "validate_waf_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rule_yaml | Yes | The YAML content of the WAF rule to validate |