guardentry_update_policy
Update an agent policy's compliance rules: blocked actions, allowed tools, approval patterns, risk tolerance, and mode. Saves a version snapshot before each update.
Instructions
Update an agent policy's rules — blocked actions, allowed tools, require-approval patterns, risk tolerance, and mode. A version snapshot is saved before each update.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| policy_id | Yes | UUID of the policy to update | |
| default_mode | No | Default evaluation mode for this policy | |
| blocked_tools | No | New list of blocked tool names | |
| change_reason | No | Reason for this policy update (recorded in version history) | |
| risk_tolerance | No | Risk tolerance level | |
| allowed_actions | No | New list of explicitly allowed action patterns | |
| blocked_actions | No | New list of blocked action patterns | |
| require_approval_patterns | No | New list of patterns that require human approval |