loyalteez_create_event
Create a custom loyalty program event by defining its trigger, reward, claim limits, and detection method; the backend handles authorization and rewards.
Instructions
Create a custom event for your loyalty program. Events are infinitely flexible - any string can be an event type. Once created, the backend handles: fire event → check auth → reward from balance.
See also: loyalteez://docs/guides/custom-events
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": {
"event": "<event>"
},
"name": "loyalteez_create_event"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| event | Yes | Event configuration | |
| brandId | No | Your brand wallet address (must be valid Ethereum address, lowercase). If not provided, uses LOYALTEEZ_BRAND_ID environment variable. |