record_action
Append hash-chained, Ed25519-signed actions to a tamper-proof agent ledger so later edits or reordering are detectable.
Instructions
Append a signed action to the tamper-proof agent ledger. Each entry is hash-chained and Ed25519-signed, so any later edit or reorder is detectable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | The action taken (e.g., resolve_secret, store_secret) | |
| target | No | The target of the action (e.g., a secret name) | |
| agentId | Yes | The agent ID returned by register_agent | |
| metadata | No | JSON string with extra context | |
| privateKey | Yes | The agent's Ed25519 private key (base64) |