MCPMCP-Tools/Bewertungen/request_review_reply_approval

request_review_reply_approval

Writereviews:write

Ask one or more of the client's portal users to approve drafted replies to reviews. Draft the replies first with reply_to_review draft=true (or pass `text` per review here). Get user ids from list_client_portal_users; only users who can see each review's location are accepted. They get one notification (in-app, and email from the agency's domain) a few minutes later; when one of them approves, the reply posts with exactly the text they approved, edits included. Returns a result per review. Use this when the person asks to send replies to the client for approval.

Parameter
itemsobject[]erforderlich
Reviews to send, each { reviewId, text? }. Omit text to use the review's saved draft.
reviewIdstringoptional
Review id Accepts the database ID or public rev- ID. IDs must belong to the authenticated agency and permitted client.
textstringoptional
Reply text (optional)
clientUserIdsstring[]erforderlich
Portal user ids who may approve (first approval wins).
notestringoptional
Optional note shown to them with the request.
Beispielanfrage
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "request_review_reply_approval",
    "arguments": {
      "items": [
        {}
      ],
      "clientUserIds": [
        "string"
      ]
    }
  }
}
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.