List promotions
list_promotionsList promotional and discount codes for an event. Use this to inspect existing promotions before creating or updating one.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_promotions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | Auto-paginate through every page. | |
| limit | No | Maximum results to return, unless all is true; also used as the page size. | |
| eventId | No | Event ID. Defaults to active event. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | The rows returned by this list operation. |