get_availability
Check ticket availability and sold-out status for a pretix event. Shows remaining counts per quota, where tickets went (paid, pending, carts, vouchers, waitlist), and sold-out quotas.
Instructions
How many tickets are still available — use this to answer "is it sold out".
Per quota: available_number left of total_size, and where the rest went
(paid_orders, pending_orders, cart_positions = reserved in carts,
blocking_vouchers, waiting_list). available_number is null for an unlimited
quota. Without quota_id every quota of the event is returned plus a sold_out
list of the quota names that have nothing left.
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": "get_availability"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| event | Yes | ||
| limit | No | ||
| quota_id | No | ||
| subevent | No |