get_refunds_summary
Retrieve total refunds and refund rate for a date range, with optional product-level breakdown to analyze refund patterns.
Instructions
Get refund metrics — total refunds, refund rate, and optionally by product.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_refunds_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | Date range (default: last_30d) | |
| group_by | No | Group refunds by product (default: none) |