get_purchase_history
Fetch recent individual purchases with details like paid date, product, country, platform, and payout amounts. Use for answering purchase-level questions.
Instructions
Get recent individual purchases. Each record includes paidDate, product, productId, country, platform, device, gross totalAmount, net amountToPayOut, status, and isRefunded. Use for detailed, purchase-level questions.
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_purchase_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Sort by date: 'desc' (newest first) or 'asc'. | desc |
| limit | No | Max number of recent purchases to return (1-500). | |
| platform | No | Optional platform filter: 'fitbit' or 'garmin'. Omit for all platforms. |