MCPMCP-Tools/Kunden/get_client_notifications

get_client_notifications

Readclients:read

Read a client's portal-notification settings: per row, separate bell (inApp) and email cells, each on/off with a location selection ("all" or location ids) on rows that can be about one location, and which layer each value comes from (default, agency, client, user, self). Pass clientUserId (an active portal user of this client) for the agency's settings for that person. list=users pages the client's active portal users; list=locations pages the locations selectable for the client or that user (cursor, limit up to 200, query; every page has a total). Also says whether it inherits agency defaults, whether the current user may edit, and whether client email can be sent (verified sending domain).

Parameter
clientUserIdstringoptional
list"users" | "locations"optional
cursorstringoptional
limitintegeroptional
querystringoptional
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_notifications",
    "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.