MCPOutils MCP/Clients/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.

Paramètres
businessNamestringobligatoire
clientIdstringobligatoire
Accepts the database ID or public cli- ID. IDs must belong to the authenticated agency and permitted client.
Exemple de requête
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "promote_location_to_client",
    "arguments": {
      "businessName": "string",
      "clientId": "string"
    }
  }
}
Exemple de réponse
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "..."
      }
    ]
  }
}

La forme de la réponse est indicative — le contenu réel dépend de l'outil et de vos données.