List loyalty cards
list_cardsLists a store's loyalty cards with their rewards.
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_cards"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| intent | No | Optional. One short sentence on what the person asked you to do, e.g. "Set up a stamp card for Ground Up Café". Leal shows it in the person's activity log under Settings → AI agents, so they can see what was done for them. Leave out customer details. | |
| store_id | No | Store id from list_stores. Optional when the login has one store. | |
| include_archived | No | Include archived cards. Default false. |