add_credit_card
Registers a new credit card with basic details so you can later attach reward rules, spending caps, and transfer partners.
Instructions
Registers a new credit card in the database with basic user-provided info.
This is STEP 1 of adding a card. After this, call:
- add_reward_rules() to add reward rules
- add_cap_buckets() to add spending caps
- add_redemption_partners() to add transfer partners
Args:
name: Full card name (e.g., "HDFC Regalia Gold", "SBI Cashback").
bank: Issuing bank (e.g., "HDFC", "SBI", "ICICI").
monthly_limit: Credit limit in INR.
billing_cycle_start: Day of month when bill generates (1-31).
network: Card network. Default "Visa". Options: Visa, Mastercard, RuPay, Amex, Diners.
rewards_currency: Type of rewards. Default "Reward Points". Options: Reward Points, Cashback, Miles, etc.
base_point_value: Value per point in INR. Default 0.25. (e.g., 0.25 means 1 point = ₹0.25).
description: Card benefits summary (from online search). Helps LLM understand card features.
tier_status: Membership tiers as dict (e.g., {"membership": "prime"} for Amazon ICICI Prime).
Returns:
dict with status, card_id (needed for adding rules), and card details.
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": {
"name": "<name>",
"bank": "<bank>",
"monthly_limit": "<monthly_limit>",
"billing_cycle_start": "<billing_cycle_start>"
},
"name": "add_credit_card"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bank | Yes | ||
| name | Yes | ||
| network | No | Visa | |
| description | No | ||
| tier_status | No | ||
| monthly_limit | Yes | ||
| base_point_value | No | ||
| rewards_currency | No | Reward Points | |
| billing_cycle_start | Yes |