list_vouchers
List an event's vouchers with price mode, value, usage counts, and validity to check whether codes remain usable and filter them client-side.
Instructions
List an event's vouchers with their price mode, value, usage count and validity.
redeemed versus max_usages tells you whether a code can still be used; pretix
has no "still usable" filter, so filter client-side after reading.
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": "list_vouchers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | ||
| code | No | ||
| item | No | ||
| event | Yes | ||
| limit | No | ||
| subevent | No | ||
| price_mode | No |