List cards
list_cardsFind Mercury card IDs or filter cards by account and status to review limits, budgets, locks, and cardholder names. Use it when you need a card ID before calling get_card.
Instructions
List cards: last four, name on card, nickname, kind, type, status, limits, budgets, locks.
Use this to find card ids or filter cards by account or status; use
`get_card` when you already have a card id and `list_merchants` for
the merchants a lock can name. `account_id` takes one id although
Mercury's filter accepts several; an unknown `status` is passed
through and rejected by Mercury with a 400; `limit` counts cards after
both filters. The API never returns PAN or CVC here; expiry is dropped
too. Card holder identity is the name on the card and the user id
only.
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": {
"entity": "<entity>"
},
"name": "list_cards"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum cards to return. | |
| entity | Yes | Exact `entity` key from `list_entities`, not its `display_name`. Required; there is no default. | |
| status | No | Restrict to one status. | |
| account_id | No | Restrict to one account id (from `list_accounts`). Omit for all. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||