trigger_refund
Prevent invalid refunds by validating customer ID, amount, and reason before processing.
Instructions
Trigger a refund after strictly validating the customer, amount, and reason.
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": {
"customer_id": "<customer_id>",
"amount": "<amount>",
"reason": "<reason>"
},
"name": "trigger_refund"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | ||
| reason | Yes | ||
| customer_id | Yes |