Set card history
set_card_historySaves the cards the user used to have and no longer holds, with the months they know (opened, closed, when the welcome bonus posted). compare_welcome_offers then checks each issuer's published repeat-bonus rule against them and the saved cards: "Chase says you may not get this bonus again", or "Not before March 2027". Only the card id is needed; ask for months only when the issuer's rule counts from one. Replaces the whole list, so call list_wallet first and include the ones to keep. Only rules issuers publish are checked; never assume one (5/24 is skippedIssuers on set_memberships). Never suggest closing a card to earn a bonus again. It uses the user's hosted earnrate wallet, not a wallet file on their computer.
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": {
"pastCards": "<pastCards>"
},
"name": "set_card_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pastCards | Yes | Cards the user used to have and no longer holds, with the months they know. Only the card is needed; months make the dates exact. Replaces the saved list, so include the ones to keep; [] clears it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | Yes | ||
| cardIds | Yes | ||
| created | Yes | ||
| message | Yes | ||
| memberships | Yes |