cuba_archivo
Append events to a tamper-evident SHA-256 hash-chained audit log, then verify the chain to detect tampering or tail recent entries.
Instructions
Tamper-evident audit log: append-only, SHA-256 hash chain, UPDATE/DELETE blocked at the PostgreSQL trigger level.
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": {
"action": "<action>"
},
"name": "cuba_archivo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Limit for verify/tail (default 10000 / 20) | |
| action | Yes | append: add an event. verify: walk the hash chain and detect tampering. tail: read recent events. | |
| payload | No | Arbitrary JSON payload (for append) | |
| event_action | No | Event type (for append) |