list_payment_methods
List the user's saved payment cards and show which is default; use returned IDs to select a card for an order.
Instructions
List the user's saved cards and which is the default. Read-only.
Use a returned id with set_payment_method to choose which card an order
charges. By default the order uses the account default card.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_payment_methods"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||