guardrail_check
Check if a command is safe to execute by querying Nexus Memory protection rules before running destructive operations, returning allow, block, or override.
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 |