MCPMCP-Tools/Kunden/import_google_locations

import_google_locations

Writeclients:write

Import an explicit Google selection into a client: selected fetchedListingIds (scope=ids), a folder (scope=folder), or the account (scope=account). Queues the same import as the UI. maxLocations explicitly permits partial import; capacity refusal, already-imported/in-progress counts and partial dispatch are returned without silently claiming success. notifyByEmail sends completion to the identified acting user. Browse cached locations first.

Parameter
connectionIdstringerforderlich
scope"ids" | "folder" | "account"optional
fetchedListingIdsstring[]optional
folderoptional
excludeIdsstring[]optional
maxLocationsintegeroptional
filterstringoptional
notifyByEmailbooleanoptional
clientIdstringerforderlich
Accepts the database ID or public cli- ID. IDs must belong to the authenticated agency and permitted client.
Beispielanfrage
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "import_google_locations",
    "arguments": {
      "connectionId": "string",
      "clientId": "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.