Which card to use, from cards you name
which_card_for_named_cardsRecommend which credit card to use for a store or spending category from the cards the user names in the conversation, including cards they have not saved to PointBagel yet. Each named card is priced from PointBagel's verified catalog: the earn rate, the estimated value per dollar, and the runner-up cards. Spending caps are treated as unspent, and a rotating quarterly bonus that needs activation counts only for a card the user says they activated this quarter. Asks which card was meant when a name matches more than one, marks cards already saved to this account, and says how to save the rest. For cards already saved, which_card answers from the user's own spending and caps instead. Values are estimates. Read-only.
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": {
"query": "<query>",
"cards": "<cards>"
},
"name": "which_card_for_named_cards"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cards | Yes | The credit cards the user named, as they said them, e.g. "Sapphire Preferred". | |
| query | Yes | A store or spending category, e.g. "Costco", "dining", or "gas". | |
| style | No | Redemption style for valuing points. Defaults to the user's saved style, else "balanced". | |
| amount | No | Purchase amount in US dollars. Defaults to a small purchase. | |
| portal | No | The name of the travel portal the user says they are booking through, such as "Chase Travel", with bookingChannel set to portal. | |
| bookingChannel | No | How the user says they are booking this purchase: direct with the supplier, through a portal (name it in portal), or other for any other way, such as an online travel agency. Put only the purchase in query. Leave this unset when the user has not said, has only said what they are not using, or is unsure; never assume it. | |
| activatedThisQuarter | No | Only when the user said so: the named cards whose rotating quarterly bonus they activated this quarter, spelled as in cards. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asOf | Yes | ||
| data | Yes | ||
| status | Yes | ||
| summary | Yes | ||
| nextActions | No | ||
| userWarnings | No |