tool_policy

Fail-closed control over which tools the agent can call.


What it mitigates


Profiledefault
localdeny
standarddeny
unboundedallow (monitor carefully)

Minimal config

moduleConfig:
  tool_policy:
    default: deny
    # rules:
    #   Add explicit allow/deny entries per tool used by your orchestrator.

Practical rollout

  1. Start with default: deny.
  2. Run real workflows and collect denied tool names from audit.
  3. Add explicit allow rules only for required tools.
  4. Re-run npx agentradius pentest after every policy change.