export_audit_trail
Export the agent's action ledger to a hash-chained JSONL audit trail file, following IETF draft-sharif-agent-audit-trail-04 for interoperability.
Instructions
Write the action ledger as an IETF draft-sharif-agent-audit-trail-04 JSONL file: twelve mandatory fields
per record, hash-chained per RFC 8785, so tooling that reads that format can read this ledger. The memory
digest and recalled ids travel under action_detail.inspeximus; the salted digests are exported under their
own name, never as the draft's plain input_hash. agent_id is a URI, agent_version a semver.
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": {
"out_path": "<out_path>",
"agent_id": "<agent_id>",
"agent_version": "<agent_version>"
},
"name": "export_audit_trail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | ||
| out_path | Yes | ||
| session_id | No | ||
| agent_version | Yes |