MCPOutils MCP/Emplacements/set_google_edit_protection
set_google_edit_protection
Writelocations:write
Turn Google edit protection on or off for one location (Google only). Use only when the user asks. Off stops new automatic corrections; a correction already sent to Google may still finish. Returns the saved setting. Requires Clients and Listings access.
Paramètres
locationIdstringobligatoire
Accepts the database ID or public loc- ID. IDs must belong to the authenticated agency and permitted client.
enabledbooleanobligatoire
Exemple de requête
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "set_google_edit_protection",
"arguments": {
"locationId": "string",
"enabled": true
}
}
}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.