audit
List, filter, and retrieve agent activity log entries, or write a liveness marker to confirm a superuser can still write to the log.
Instructions
agent_audit_log operations (mirrors GET /admin/audit,
GET /admin/audit/{id}, POST /admin/audit/verify). action:
list (optional entity_type filter, newest first, paged via
limit/offset) | get (audit_id) | probe_write (verify is its old,
deprecated name).
probe_write WRITES one row and verifies nothing: like the portal's
"verify" button it records a liveness marker
(record_change(entity_type="agent_audit_log", entity_id=<all-zero
uuid>, action="CALLEE_VERIFY")) proving a superuser can still write to
the log. There is no hash chain to walk.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": "audit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | Config branch: which `environment` rows of the AI config DB to read/write. staging = the editable working set (default); prod = what production serves. | staging |
| limit | No | Rows per page. | |
| action | No | Operation to run: list | get | probe_write | verify. The tool description lists what each action needs. | list |
| offset | No | Skip this many rows first (paging). | |
| audit_id | No | agent_audit_log row UUID. | |
| entity_type | No | Only rows for this table/entity, e.g. agent_profiles. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |