MCPFerramentas MCP/Avaliações/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
locationIdstringobrigatório
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.
keystringobrigatório
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"obrigatório
Whether `key` is an auto platform slug or a custom source id (required).
hidebooleanobrigatório
true to hide, false to unhide (required).
Exemplo de solicitação
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "hide_review_source",
"arguments": {
"locationId": "string",
"key": "string",
"type": "auto",
"hide": true
}
}
}Exemplo de resposta
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"content": [
{
"type": "text",
"text": "..."
}
]
}
}O formato da resposta é ilustrativo — o conteúdo real depende da ferramenta e dos seus dados.