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.
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": {
"agentId": "<agentId>",
"privateKey": "<privateKey>",
"action": "<action>"
},
"name": "record_action"
}
}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) |