guardrail_check
Checks if an action is safe before execution by querying Nexus Memory protection rules, returning allow, block, or override verdicts. Use it before destructive operations like rm, drop, kill, overwrite.
Instructions
Active Guardrails: Check if an action is safe before executing it. Queries Nexus Memory for protection rules (category='rule' with protection keywords like 'niemals', 'never delete', 'protected'). Returns allow/block/override verdict. Use before destructive operations (rm, drop, kill, overwrite, recreate).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | The command string to check (e.g. 'rm -rf ~/nexus-memory-test/') | |
| tool_name | No | The tool being called (e.g. 'terminal', 'write_file') | |
| tool_input | No | Full tool input dict for path-based checks |