MCPHerramientas MCP/Reseñas/hide_review_source

hide_review_source

Writereviews:write

Hide or unhide a review source from a location's review feed and analytics, without deleting its historical reviews. Pass an auto-detected platform slug (e.g. "google") with type "auto" to hide one of the automatically-pulled platforms, or a custom source's id (from validate_review_source's result, or the id returned by add_review_source) with type "custom".

Parámetros
locationIdstringobligatorio
The location whose source visibility you're changing (required, from list_locations). Accepts the database ID or public loc- ID. IDs must belong to the authenticated agency and permitted client.
keystringobligatorio
The auto platform slug (e.g. "google", "yelp") when type is "auto", or the custom source's id when type is "custom" (required).
type"auto" | "custom"obligatorio
Whether `key` is an auto platform slug or a custom source id (required).
hidebooleanobligatorio
true to hide, false to unhide (required).
Solicitud de ejemplo
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "hide_review_source",
    "arguments": {
      "locationId": "string",
      "key": "string",
      "type": "auto",
      "hide": true
    }
  }
}
Respuesta de ejemplo
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "..."
      }
    ]
  }
}

La forma de la respuesta se muestra a modo ilustrativo — el contenido real depende de la herramienta y de tus datos.