MCPMCP Tools/Clients/get_client_audit

get_client_audit

Readclients:read

Read the client's audit history, including deleted and archived locations and portal users. Covers only the trigger-audited client, location and portal-user changes; posts/review replies are not captured. Filter by locationId, from/to (UTC dates or ISO timestamps, to exclusive), before cursor, and limit (1–100). Returns timezone and locations for filtering. Agency sessions only.

Parameters
locationIdstringoptional
fromoptional
tooptional
beforeoptional
limitintegeroptional
clientIdstringrequired
Accepts the database ID or public cli- ID. IDs must belong to the authenticated agency and permitted client.
Example request
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_client_audit",
    "arguments": {
      "clientId": "string"
    }
  }
}
Example response
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "..."
      }
    ]
  }
}

Response shape shown for illustration — the actual content depends on the tool and your data.