Remove a card
remove_cardRemoves a card from the wallet, with its tracked cap usage, bonus progress and yearly spending. Memberships and point values stay, even when the last card goes. Only when the user says they no longer have it or don't want it considered. If they closed it, ask once whether to keep it in their card history (keepHistory), so offer answers can say when its welcome bonus can be earned 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": {
"cardId": "<cardId>"
},
"name": "remove_card"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cardId | Yes | The card id from search_cards, e.g. chase-sapphire-preferred. | |
| keepHistory | No | Ask the user once whether to keep the card in their card history, so offer answers can say when the issuer lets them earn its welcome bonus again. true keeps it, closed this month, with its opening date and bonus months; false or omitted removes it entirely. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | Yes | ||
| cardIds | Yes | ||
| created | Yes | ||
| message | Yes | ||
| memberships | Yes |