save refund rule
save_refund_ruleStore a refund rule the user has explicitly approved. matchTerms must name a specific situation. The word refund alone is not a rule. remedy is the only wording that may later be approved. decision ALLOW grants that wording. decision DENY refuses a refund and records the denial script.
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": {
"deskId": "<deskId>",
"name": "<name>",
"matchTerms": "<matchTerms>",
"decision": "<decision>",
"remedy": "<remedy>"
},
"name": "save_refund_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| deskId | Yes | ||
| remedy | Yes | ||
| status | No | APPROVED | |
| decision | Yes | ||
| matchTerms | Yes | ||
| windowDays | No | ||
| expectedRevision | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No |