arai_recent_decisions
Check recent guardrail decisions from the Arai policy system after a denial or warning. Identify which rules were matched to avoid repeating the same refused action.
Instructions
Look up the most recent guardrail decisions Δrai has emitted in this session (or any session if session_id is omitted). Use this when you've just been denied or warned and want to check whether you've hit the same rule before β closes the feedback loop so you don't repeat a refused action. Returns each firing's tool, decision (deny/inject/review), the matched rule(s), and the source file the rule came from.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum decisions to return (default 10, max 50). | |
| since | No | Optional time window like '1h', '24h', '7d'. Defaults to the last 24 hours so stale entries don't crowd out today's. | |
| session_id | No | Optional Claude Code session id. When set, only decisions from that session are returned. Match the value Claude Code passes in hook payloads. |