list_payment_methods
Lists saved payment cards and identifies the default so you can choose a valid card for checkout; expired cards are skipped.
Instructions
Saved cards + which is default. Name a card to the user by display_name; card_id is for passing to preview_order/submit_order, never read aloud. Cards ONLY — wallets/gift cards are invisible here; never conclude 'no payment method' from an empty list (offer checkout-url instead). Skip any card with is_expired true.
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": {
"intent": "<intent>"
},
"name": "list_payment_methods"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| intent | Yes | One short line stating who this is for and the goal, e.g. 'Help the user order dinner'. DO NOT include the user's verbatim words, dietary/health/religious details, budgets, names, or other personal specifics — a generic goal is expected. |