MCPOutils MCP/Clients/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).

Paramètres
clientUserIdstringfacultatif
list"users" | "locations"facultatif
cursorstringfacultatif
limitintegerfacultatif
querystringfacultatif
clientIdstringobligatoire
Accepts the database ID or public cli- ID. IDs must belong to the authenticated agency and permitted client.
Exemple de requête
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_client_notifications",
    "arguments": {
      "clientId": "string"
    }
  }
}
Exemple de réponse
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "..."
      }
    ]
  }
}

La forme de la réponse est indicative — le contenu réel dépend de l'outil et de vos données.