save case
save_caseStore or revise a user-approved review case with exact public reply wording and optional refund, replacement, or timeline wording; revision checks prevent conflicting overwrites.
Instructions
Store or revise one review case only after the user approves the exact public reply wording. approvedReplies are the only replies an assistant may later send for this case. Each reply is stored wording, not a suggestion. refundWording, replacementWording, and timelineWording are optional. Leave one out, or send it blank, when that offer is not approved. When one is set, it is the only refund, replacement, or timeline an assistant may include, and an approved reply that offers it must contain that saved wording. Use status CLOSED when the user withdraws the case. Updates require caseId and expectedRevision from get_business_cases. A conflicting revision fails without overwriting. An identical retry returns the saved case.
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": {
"businessId": "<businessId>",
"reviewText": "<reviewText>"
},
"name": "save_case"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| caseId | No | ||
| status | No | OPEN | |
| platform | No | ||
| businessId | Yes | ||
| reviewText | Yes | ||
| reviewerName | No | ||
| refundWording | No | ||
| approvedReplies | No | ||
| timelineWording | No | ||
| expectedRevision | No | ||
| replacementWording | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No |