MCPFerramentas 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
clientIdstringobrigatório
The client to create the locations under (from list_clients).
connectionIdstringobrigatório
The Google account the listings belong to (from list_google_accounts).
fetchedListingIdsstring[]obrigatório
The fetchedListingIds to import (from get_google_listings). Up to 10 per call.
Exemplo de solicitação
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "create_location_from_google",
"arguments": {
"clientId": "string",
"connectionId": "string",
"fetchedListingIds": [
"string"
]
}
}
}Exemplo de resposta
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"content": [
{
"type": "text",
"text": "..."
}
]
}
}O formato da resposta é ilustrativo — o conteúdo real depende da ferramenta e dos seus dados.