MCPMCP-Tools/Kunden/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.
Parameter
clientIdstringerforderlich
The client to create the locations under (from list_clients).
connectionIdstringerforderlich
The Google account the listings belong to (from list_google_accounts).
fetchedListingIdsstring[]erforderlich
The fetchedListingIds to import (from get_google_listings). Up to 10 per call.
Beispielanfrage
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "create_location_from_google",
"arguments": {
"clientId": "string",
"connectionId": "string",
"fetchedListingIds": [
"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.