Estimate cashback for a purchase
calculate_cashbackWork out the cashback on a purchase: commission = price × commission rate, of which the buyer receives a share set by their CashbackPro level (Bronze 30%, Silver 45%, Gold 60%, Platinum 80%). Returns the figure for every level. Pure calculation — nothing is looked up.
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": {
"price_usd": "<price_usd>",
"commission_rate_percent": "<commission_rate_percent>"
},
"name": "calculate_cashback"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| price_usd | Yes | Product price in USD | |
| commission_rate_percent | Yes | AliExpress commission rate, percent (e.g. 7 for 7%) |