MCPMCP-Tools/Kunden/add_client_portal_user

add_client_portal_user

Writeclients:write

Add a portal user by email and optionally send their invitation (default true). The first user becomes owner. If email delivery fails, the added user is retained and the result explains that an invitation needs resending.

Parameter
emailstringerforderlich
firstNameoptional
lastNameoptional
sendInvitebooleanoptional
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": "add_client_portal_user",
    "arguments": {
      "email": "string",
      "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.