List perks
list_perksList a brand's perks with how many have been granted, revealed to members and redeemed, and for coupons with a code pool, how many codes are left and how many grants are waiting for one.
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": {
"brandId": "<brandId>"
},
"name": "list_perks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| brandId | Yes | Brand ID, the project that offers the perk. |