MCPMCP-Tools/Kunden/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.
Parameter
locationIdstringoptional
fromoptional
tooptional
beforeoptional
limitintegeroptional
clientIdstringerforderlich
Accepts the database ID or public cli- ID. IDs must belong to the authenticated agency and permitted client.
Beispielanfrage
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_client_audit",
"arguments": {
"clientId": "string"
}
}
}Beispielantwort
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"content": [
{
"type": "text",
"text": "..."
}
]
}
}Die Antwortform dient nur zur Veranschaulichung — der tatsächliche Inhalt hängt vom Tool und Ihren Daten ab.