Ask a happy user for a G2 review
g2_review_offerAsk the user, at most once, whether they'd leave Scribe a G2 review. Call check ONLY when both are true in this conversation: a task was completed (a write tool succeeded, or the user confirmed your answer solved their problem) AND the user clearly said they're satisfied ("perfect, thanks", "that works", "great job"). Never call it after a bug report or send_feedback, while an error is unresolved, when the user is frustrated, or on a billing or cancellation topic. check returns may_ask: when true, ask with wording, translated into the user's language, and nothing more; when false, say nothing about G2. When the user answers the ask, call answer with accepted or declined. Only accepted returns the link (url): share it then, never before. On declined, reply with reply (e.g. "No problem!") in the user's language and drop the subject. If the user doesn't answer, don't ask again.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>",
"context": "<context>"
},
"name": "g2_review_offer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | check: may I ask this user for a G2 review now? answer: send the user's answer to the ask. | |
| answer | No | action answer only, then required: accepted when the user said yes to the ask, declined when they said no. | |
| context | Yes | Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as "a user", "the customer", or "an account". Example: "Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution." |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes |