recommend_card
Ranks every card in the wallet by the rupee value of rewards it returns on a purchase, factoring in earn rates and monthly caps already used. Input amount and merchant to find the best card to pay with.
Instructions
Rank every card in the wallet by the rupee value it would give back on this purchase, taking monthly caps already used into account.
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": {
"amount": "<amount>",
"merchant": "<merchant>"
},
"name": "recommend_card"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Purchase amount in ₹ | |
| channel | No | offline | |
| category | No | Spending category, see the smartcard://categories resource. Leave empty to guess from a well-known merchant. | |
| merchant | Yes | Where the user is buying, e.g. 'Amazon' |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||