Read audit log
read_auditRead recent audit-log rows newest first to review what jobs ran and how they ended; filter by session, operation, outcome, request_id, or time, and verify the hash chain.
Instructions
Read recent audit-log rows, newest first: what each job was asked and returned. Filter by session_id, operation, outcome, request_id, since_unix (seconds); verify=true checks the hash chain. Use when: you review what ran and how it ended, or look one job up by request_id. Avoid when: you want live metrics (health). Output: rows[] {session_id, operation, outcome, reason_code, reason, args_hash, command, request_id, started_at_ms, completed_at_ms, elapsed_ms, args_summary, result_summary, result_bytes}, count, truncated, chain_ok (verify=true). Output mode full adds redacted args and result per row; bulk text is kept as its length only. Timestamps are epoch milliseconds (since_unix filters in seconds). args_hash identifies the call, command is the redacted command line.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "read_audit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max rows, newest first (default 50; 15 in VENIRA_OUTPUT_MODE=compact; max 200). | |
| verify | No | true verifies the audit hash chain and returns chain_ok; false disables verification. | |
| outcome | No | Only rows with this outcome. | |
| operation | No | Only rows for this operation (e.g. edit_file, shell_run). | |
| request_id | No | One job by request_id: its args and result. | |
| session_id | No | Only rows from this session. | |
| since_unix | No | Only rows at or after this Unix timestamp (seconds). |