MCPMCP-Tools/Bewertungen/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".
Parameter
locationIdstringerforderlich
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.
keystringerforderlich
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"erforderlich
Whether `key` is an auto platform slug or a custom source id (required).
hidebooleanerforderlich
true to hide, false to unhide (required).
Beispielanfrage
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "hide_review_source",
"arguments": {
"locationId": "string",
"key": "string",
"type": "auto",
"hide": true
}
}
}Beispielantwort
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"content": [
{
"type": "text",
"text": "..."
}
]
}
}Die Antwortform dient nur zur Veranschaulichung — der tatsächliche Inhalt hängt vom Tool und Ihren Daten ab.