MCPFerramentas MCP/Avaliações/set_review_note_visibility
set_review_note_visibility
Writereviews:write
Share one of the agency's notes on a review with the client, or keep it internal. Identify it by reviewId (from list_reviews) and noteId (from list_review_notes). Client-written notes are always shared and cannot be changed. Tenant-scoped: a review outside the caller's agency is rejected.
Parâmetros
reviewIdstringobrigatório
Review id (from list_reviews) Accepts the database ID or public rev- ID. IDs must belong to the authenticated agency and permitted client.
noteIdstringobrigatório
Note id (from list_review_notes)
visibility"internal" | "shared"obrigatório
internal = agency only; shared = visible to the client
Exemplo de solicitação
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "set_review_note_visibility",
"arguments": {
"reviewId": "string",
"noteId": "string",
"visibility": "internal"
}
}
}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.