parse_condition
Parse Sigma condition expressions into a JSON parse tree, or retrieve structured parse errors for invalid input. Useful for validating and understanding detection logic.
Instructions
Parse a Sigma condition expression (e.g. selection and not 1 of filter_*) into a parse-tree as JSON, or return a structured parse error.
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": {
"condition": "<condition>"
},
"name": "parse_condition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| condition | Yes | A Sigma condition expression, e.g. `selection and not filter`. |