MCPOutils MCP/Emplacements/check_location_content

check_location_content

Readlocations:read

Preview content checks for a location edit without saving or publishing it. Pass patch and optional applyTo publisher selection; classify:false checks publisher requirements while guidelines remain pending. Returns report:null when checks are disabled, the entity is a website, or no checked field is changed. Never authorizes bypassing a content check. Requires Clients access.

Paramètres
patchobjectfacultatif
applyTofacultatif
classifybooleanfacultatif
locationIdstringobligatoire
Accepts the database ID or public loc- ID. IDs must belong to the authenticated agency and permitted client.
Exemple de requête
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "check_location_content",
    "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.