List the published WARDEN static-scan rule table
list_scan_rulesRetrieve the in-force static-scan ruleset with version, digest, and rule details to explain a finding code, confirm ruleset version, or reproduce a scan verdict.
Instructions
Return the in-force static-scan ruleset: version, digest, and every rule's code, severity, tier (block vs advise), surfaces (name / description / inputSchema), optional regex source, and named guards. A recorded verdict is only reproducible together with this identity.
When to use: explain a finding code, confirm you are on ruleset v4, or re-run a scan with the same table. include_source=true adds the regex source and flags for an independent re-implementation.
When NOT to use: evaluating a live tools/list (static_scan_tools or vet_mcp_server — those apply the table). This tool does not scan anything.
Behaviour: local snapshot of the compiled rule table, no network, no mutation. Digest is sha256 over the RFC 8785 form of {version, rules}.
Returns the ruleset object. Example: list_scan_rules({ include_source: false }).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| include_source | No | When true, each rule includes source (regex body) and flags so a third party can re-run the exact pattern. Default false — identity, tier, surfaces, and guards only, smaller payload. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rules | Yes | ||
| digest | Yes | sha256-<base64> of the canonical rule table. | |
| version | Yes | Monotonic ruleset version. |