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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"agent_id": "<agent_id>",
"action_type": "<action_type>",
"action_description": "<action_description>"
},
"name": "govern_action"
}
}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 |