MCPOutils MCP/Avis/reply_to_review
reply_to_review
Writereviews:write
Post or update the owner reply to a single review. Pushes live to Google/Facebook. Pass draft=true to save it as an UNSENT draft for approval instead — nothing reaches the publisher, `pushed` is false and `drafted` is true; use it when a person should review the reply first (the app's own reply box and bulk flow do the same). In a client-portal session every reply is a draft regardless.
Paramètres
reviewIdstringobligatoire
Review id (from list_reviews) Accepts the database ID or public rev- ID. IDs must belong to the authenticated agency and permitted client.
textstringobligatoire
Reply text
draftbooleanfacultatif
Save as an unsent draft for approval instead of publishing. Default false (publishes).
Exemple de requête
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "reply_to_review",
"arguments": {
"reviewId": "string",
"text": "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.