check_action
Enforce a safety policy on a proposed agent action before execution, blocking unauthorized tools, excessive value, or disallowed recipients.
Instructions
SAFETY: enforce a policy on a proposed agent action (tool call) BEFORE it runs. policy supports forbid_tools/allow_tools, max_value_wei, allow_recipients. Returns {allowed, violations}. Fail-safe: denies on unreadable input. The 'inspect what the agent DOES' gate, not just who it is.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Proposed action: {tool, args}. | |
| policy | No | Rules: forbid_tools[], allow_tools[], max_value_wei, allow_recipients[]. |