Chainsaw: read a rule
chainsaw_get_ruleRead a single rule's YAML and parsed summary, or list a rule directory, by kind and path to inspect detection logic.
Instructions
Read one rule's YAML and parsed summary, or list a rule directory.
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": {
"kind": "<kind>",
"path": "<path>"
},
"name": "chainsaw_get_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | chainsaw, sigma or custom. | |
| path | Yes | Rule path relative to that kind's root, e.g. rules/windows/process_creation/proc_creation_win_lsass_dump.yml or evtx/credential_access. Directories return their children. |