audit_tail
Retrieve the most recent entries from a JSONL audit log to inspect agent actions and detect failures.
Instructions
Return the last n records from a JSONL audit log.
Use when: "what did the agent just do?", "did anything fail?". Example: path="/var/log/mcp-shield/audit.jsonl", n=50.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | ||
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |