MCPMCP-Tools/Standorte/verify_location

verify_location

Writelocations:write

Start or complete Google verification for a location. To start: pass method (from get_location_verification_status's options — e.g. "EMAIL", "PHONE_CALL", "SMS", "ADDRESS") plus whichever of emailAddress/phoneNumber/mailerContact that method needs. To complete a pending verification once the PIN arrives: pass pin instead. The location must already be connected to a Google account (get_location_verification_status returns connected:false otherwise).

Parameter
locationIdstringerforderlich
The id of the location to verify (required).
methodstringoptional
Verification method to start (from get_location_verification_status's options).
emailAddressstringoptional
Email address to send the verification to, for method EMAIL.
phoneNumberstringoptional
Phone number to call/text, for method PHONE_CALL or SMS.
mailerContactstringoptional
Contact name for a mailed postcard, for method ADDRESS.
pinstringoptional
The PIN received via the chosen method — pass this alone to complete a pending verification.
Beispielanfrage
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "verify_location",
    "arguments": {
      "locationId": "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.