MCPHerramientas MCP/Clientes/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.
Parámetros
clientIdstringobligatorio
The client to create the locations under (from list_clients).
connectionIdstringobligatorio
The Google account the listings belong to (from list_google_accounts).
fetchedListingIdsstring[]obligatorio
The fetchedListingIds to import (from get_google_listings). Up to 10 per call.
Solicitud de ejemplo
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "create_location_from_google",
"arguments": {
"clientId": "string",
"connectionId": "string",
"fetchedListingIds": [
"string"
]
}
}
}Respuesta de ejemplo
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"content": [
{
"type": "text",
"text": "..."
}
]
}
}La forma de la respuesta se muestra a modo ilustrativo — el contenido real depende de la herramienta y de tus datos.