Record an agent action (audit)
record_actionAppend tamper-evident audit records for agent actions, using hash-chaining to detect any later modifications.
Instructions
Append a tamper-evident audit record for something an agent did. Entries are hash-chained, so any later modification is detectable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| outcome | Yes | What happened, e.g. 'success' or 'error' | |
| agent_id | Yes | ||
| resource | Yes | ||
| rationale | Yes | Why the agent took this action | |
| contains_phi | No | Whether this action touched protected health information |