Preview loyalty card designs
preview_card_designsRenders one to four loyalty card designs as Apple Wallet and Google Wallet passes so the person can compare them and pick one. Checks each design against Leal's rules and flags hard-to-read colour combinations. Returns a shareable preview link per design. Works without a Leal account; nothing is saved.
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": {
"designs": "<designs>"
},
"name": "preview_card_designs"
}
}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. | |
| designs | Yes | The designs to show side by side. | |
| store_name | No | The business name, shown where the pass shows the store. |