MCPMCP-Tools/Kunden/promote_location_to_client

promote_location_to_client

Writeclients:write

Make a standalone location's hidden client into a named client. Preserves the same client identity and all its data, connections and access grants. Requires client-management permission and access to this client. An already-named client or duplicate name is refused.

Parameter
businessNamestringerforderlich
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": "promote_location_to_client",
    "arguments": {
      "businessName": "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.