MCPFerramentas 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
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_notifications",
    "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.