Detection rule generate
detection_rule_generateGenerates safe, structurally validated Suricata, Sigma, YARA, or Zeek detection rules from a defensive purpose and optional indicators.
Instructions
Generate a SAFE DETECTION rule (suricata/sigma/yara/zeek notice) for a defensive purpose. Detection artefacts only — never attack artefacts. Text is structurally validated and may be written inside the workspace. Persisted with verification statically_reviewed.
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": {
"format": "<format>",
"purpose": "<purpose>"
},
"name": "detection_rule_generate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | Yes | Rule format to generate. | |
| purpose | Yes | Defensive detection purpose. | |
| indicators | No | Optional indicators (strings/paths) to reference. | |
| outputPath | No | Optional workspace-relative path to write the rule. |