vorim_emit_event
Log agent actions for compliance and traceability by recording event details like agent ID, action type, and outcome.
Instructions
Log an audit event for an agent action. Every agent action should be logged for compliance and traceability.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | The agent that performed the action | |
| event_type | Yes | Event category: tool_call, api_request, message_sent, permission_change, status_change | |
| action | Yes | What the agent did (e.g. 'search_documents', 'send_email') | |
| result | Yes | Outcome: success, denied, or error | |
| resource | No | Target resource identifier | |
| permission | No | Permission scope used | |
| latency_ms | No | Execution time in milliseconds | |
| error_code | No | Error code if result is 'error' |