Skip to content
All tools

get_audit_log

Diagnostics & system · macOS · Windows

Effect: read (strongest supported action). Status: gated.

Gated means the tool requires an installed app, a connected account, permission, or runtime availability. Check those requirements on the listed platform before using it.

macOS

Purpose

Returns recent LMCP tool call history from the local audit log. Each entry shows timestamp, tool name, call source (local/cloud), success status, and duration. Useful for debugging and for reviewing what Local MCP's tools did. It records tool calls, not what a terminal command went on to do: while run_terminal_command is enabled it is not a complete record of activity on this Mac.

Required inputs

No required inputs are declared in this platform's schema. Optional selectors and runtime requirements may still apply.

Permissions and confirmation

No explicit confirmation parameter is exposed in this snapshot. This does not grant permission to act: obtain user authorization before any real action.

Full input schema — macOS
{
  "properties": {
    "limit": {
      "description": "Number of recent entries to return (default 50, max 200)",
      "type": "integer"
    },
    "ok": {
      "description": "Filter to successes (true) or failures (false) only (optional)",
      "type": "boolean"
    },
    "tool": {
      "description": "Filter to entries for a specific tool name (optional)",
      "type": "string"
    }
  },
  "required": [],
  "type": "object"
}

Documentation example

Do not execute this example. These concrete inputs refer to a fictional demonstration dataset. Resolve real handles and obtain user authorization before any real call.

{
  "limit": 5
}

Windows

Purpose

Returns recent LMCP tool call history from the local audit log. Each entry shows the tool name, the UTC timestamp, ok (whether the call succeeded) and, for a failed call, its error_key. The store does not record call source or duration.

Required inputs

No required inputs are declared in this platform's schema. Optional selectors and runtime requirements may still apply.

Permissions and confirmation

No explicit confirmation parameter is exposed in this snapshot. This does not grant permission to act: obtain user authorization before any real action.

Full input schema — Windows
{
  "properties": {
    "limit": {
      "description": "Number of recent entries to return (default 50, max 200)",
      "minimum": 1,
      "type": "integer"
    },
    "ok": {
      "description": "Filter to successes (true) or failures (false) only (optional)",
      "type": "boolean"
    },
    "tool": {
      "description": "Filter to entries for a specific tool name (optional)",
      "type": "string"
    }
  },
  "required": [],
  "type": "object"
}

Documentation example

Do not execute this example. These concrete inputs refer to a fictional demonstration dataset. Resolve real handles and obtain user authorization before any real call.

{
  "limit": 5
}