MCPOutils MCP/Clients/create_location_from_google

create_location_from_google

Writeclients:write

Import one or more fetched Google locations into new business locations under a client, pulling their full Google profile (name, address, hours, categories, photos, etc.). Get the fetchedListingIds from get_google_listings. Imports up to 10 per call. Each new location is submitted to the other directories automatically (it's already live on Google). Returns the created location ids (and any that failed, with the reason). You don't pass an agency — it comes from your credentials.

Paramètres
clientIdstringobligatoire
The client to create the locations under (from list_clients).
connectionIdstringobligatoire
The Google account the listings belong to (from list_google_accounts).
fetchedListingIdsstring[]obligatoire
The fetchedListingIds to import (from get_google_listings). Up to 10 per call.
Exemple de requête
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "create_location_from_google",
    "arguments": {
      "clientId": "string",
      "connectionId": "string",
      "fetchedListingIds": [
        "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.