delete_credit_card
Permanently removes a saved credit card along with its reward rules, spending caps, redemption partners, and linked history; this action cannot be undone.
Instructions
Permanently deletes a credit card and ALL its associated rules, limits, and history.
⚠️ WARNING: This action cannot be undone. It removes:
- The Card entry
- All Reward Rules for this card
- All Cap Buckets for this card
- All Redemption Partners for this card
- (Expenses might remain as orphans depending on DB settings, but are usually unlinked)
Args:
card_id (int): The unique numeric ID of the card (found via 'get_my_cards').
Returns:
str: Success or error message.
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": {
"card_id": "<card_id>"
},
"name": "delete_credit_card"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| card_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |