Audit log
audit_logRead the MCP audit trail to see which session ran a command or edited a file, when, and with what exit code. Use it first when something breaks or a file changes unexpectedly.
Instructions
Read the MCP audit trail: who (which session) ran which command or edited which file, when, and with what exit code. USE THIS FIRST when something broke, when a file looks unexpectedly changed, or when you suspect another agent worked in parallel. Filters: onlyErrors, tool, contains, sinceMinutes.
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_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Short human-readable explanation (1 line, in the user's language) of what you are about to do and why. Shown to the user on the approval card. Always provide when calling mutating tools. | |
| tool | No | ||
| agent | No | Short consistent identifier or display name of this agent (e.g. 'Claude · Лендинг', 'Тесты', 'Мой агент'). Used to separate tasks and route tray messages when multiple agents work in parallel. | |
| limit | No | ||
| contains | No | ||
| onlyErrors | No | ||
| sinceMinutes | No |