Show a loyalty card
get_cardShows a saved loyalty card's design and rewards, with an Apple and Google Wallet preview.
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": {
"card_id": "<card_id>"
},
"name": "get_card"
}
}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. | |
| card_id | Yes | Card id from list_cards. |