Save cards to your wallet
add_cards_confirmSave the cards from an add_cards_preview answer to the user's PointBagel wallet, after the user agrees to that list. Pass the save code and the card names exactly as add_cards_preview listed them. Saves only the catalog card and, when the user stated it, the month it was opened: never a nickname, a card number, or anything the user said. A save code works once and expires ten minutes after the preview. Never changes or removes a card already in the wallet. PointBagel then sends the user an in-app notice and, when it can, an email listing the cards saved; the answer says which were sent.
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": {
"saveCode": "<saveCode>",
"cardNames": "<cardNames>"
},
"name": "add_cards_confirm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| saveCode | Yes | The saveCode from the add_cards_preview answer. | |
| cardNames | Yes | The card names exactly as add_cards_preview listed them in confirmCardNames. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asOf | Yes | ||
| data | Yes | ||
| status | Yes | ||
| summary | Yes | ||
| nextActions | No | ||
| userWarnings | No |