govern_action
Validate AI agent actions with capability checks and policy evaluation, then produce a verifiable receipt for audit and rollback.
Instructions
Govern any AI agent action. Performs capability check + policy evaluation + generates a governance receipt. Returns a receipt proving the action was governed. When API key is set, uses cloud API with local fallback.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | Identifier for the AI agent performing the action | |
| action_type | Yes | Type of action (e.g., 'send_email', 'make_purchase', 'modify_data', 'api_call') | |
| action_description | Yes | Human-readable description of what the agent is about to do | |
| target_resource | No | The resource being acted upon (e.g., 'user_database', 'email_server', 'payment_api') | |
| risk_tier | No | Self-assessed risk level of this action | |
| context | No | Additional context key-value pairs for policy evaluation |