MCPOutils MCP/Emplacements/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).

Paramètres
locationIdstringobligatoire
The id of the location to verify (required).
methodstringfacultatif
Verification method to start (from get_location_verification_status's options).
emailAddressstringfacultatif
Email address to send the verification to, for method EMAIL.
phoneNumberstringfacultatif
Phone number to call/text, for method PHONE_CALL or SMS.
mailerContactstringfacultatif
Contact name for a mailed postcard, for method ADDRESS.
pinstringfacultatif
The PIN received via the chosen method — pass this alone to complete a pending verification.
Exemple de requête
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "verify_location",
    "arguments": {
      "locationId": "string"
    }
  }
}
Exemple de réponse
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "..."
      }
    ]
  }
}

La forme de la réponse est indicative — le contenu réel dépend de l'outil et de vos données.