MCPMCP Tools/Clients/update_client_notifications

update_client_notifications

Writeclients:write

Change a client's portal-notification settings as an agency owner/admin. Exactly one of: patch — only the fields named, e.g. { rows: { reviewsLow: { email: { enabled: true, locations: ["<locationId>"] } } } }, with null clearing a field so it inherits again (bell and email are independent; locations only on location rows, only the client's live locations, and for a person only locations they can see; turning a cell off keeps its locations); reset=true — the client follows agency defaults again, or with clientUserId the person follows the client again; config — the original whole-list save (client only; null resets). Pass clientUserId for one active portal user; showToClients and locked are client-wide and can't be set per person. A client user or ordinary agency member cannot change these settings.

Parameters
configoptional
patchobjectoptional
resettrueoptional
clientUserIdstringoptional
clientIdstringrequired
Accepts the database ID or public cli- ID. IDs must belong to the authenticated agency and permitted client.
Example request
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "update_client_notifications",
    "arguments": {
      "clientId": "string"
    }
  }
}
Example response
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "..."
      }
    ]
  }
}

Response shape shown for illustration — the actual content depends on the tool and your data.