MCPFerramentas MCP/Clientes/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.

Parâmetros
locationIdstringopcional
fromopcional
toopcional
beforeopcional
limitintegeropcional
clientIdstringobrigatório
Accepts the database ID or public cli- ID. IDs must belong to the authenticated agency and permitted client.
Exemplo de solicitação
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_client_audit",
    "arguments": {
      "clientId": "string"
    }
  }
}
Exemplo de resposta
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "..."
      }
    ]
  }
}

O formato da resposta é ilustrativo — o conteúdo real depende da ferramenta e dos seus dados.