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

Parámetros
clientUserIdstringopcional
list"users" | "locations"opcional
cursorstringopcional
limitintegeropcional
querystringopcional
clientIdstringobligatorio
Accepts the database ID or public cli- ID. IDs must belong to the authenticated agency and permitted client.
Solicitud de ejemplo
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_client_notifications",
    "arguments": {
      "clientId": "string"
    }
  }
}
Respuesta de ejemplo
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "..."
      }
    ]
  }
}

La forma de la respuesta se muestra a modo ilustrativo — el contenido real depende de la herramienta y de tus datos.