Prepare to save cards to your wallet
add_cards_previewPrepare to save credit cards to the user's PointBagel wallet, when the user asks to add or save cards they hold. Matches each name against PointBagel's catalog and says which cards would be saved, which are already in the wallet, and which need the PointBagel website instead: a second account of a card already in the wallet, cards the wallet holds only as closed, possible upgrades of a card they hold, and cards whose bonus categories they choose. Nothing is saved by this tool: it returns a save code that works once, for ten minutes. Show the user the cards, and save them with add_cards_confirm only after the user agrees. Include an opened month only when the user said it. 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": {
"cards": "<cards>"
},
"name": "add_cards_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cards | Yes | The cards the user asked to save, 1 to 10. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asOf | Yes | ||
| data | Yes | ||
| status | Yes | ||
| summary | Yes | ||
| nextActions | No | ||
| userWarnings | No |