check_refund_policy
Determine whether a refund is allowed and who must approve it by checking order, amount, reason, and refund window; does not issue the refund.
Instructions
Check whether a refund is allowed and who must approve it. Does NOT issue the refund.
Args: order_id: e.g. ORD-1004. amount: Refund amount in major units, e.g. 24.99. reason: Why the customer wants a refund. as_of: Date to measure the refund window from, YYYY-MM-DD. Defaults to today.
Returns decision = auto_approve | needs_human_review | reject, with reasons.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | No | ||
| amount | Yes | ||
| reason | Yes | ||
| order_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||