Create Coupon Code
create_coupon_codeCreate coupon codes in batches of 10 in the provided event. If there are more than 10 coupon codes, create the first 10, then continue with the next 10 until all are created.
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_id": "<event_id>",
"coupons": "<coupons>"
},
"name": "create_coupon_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coupons | Yes | Coupon codes to create. Include no more than 10 coupon codes here. If there are more than 10 coupon codes total, provide the first 10 here, then continue with the next 10. | |
| event_id | Yes | Event UUID returned by search_events. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hint | Yes | ||
| count | Yes | ||
| coupons | Yes | ||
| message | Yes |