list_hotspot_vouchers
List all guest hotspot vouchers for a UniFi site, automatically draining paginated results to return the complete set with a total count.
Instructions
List all hotspot/guest vouchers for a site (there is no list_vouchers — this is it).
This is the voucher-listing tool; the family is list_hotspot_vouchers,
create_hotspot_vouchers, get_hotspot_voucher, delete_hotspot_voucher — all
prefixed hotspot_. There is no shorter list_vouchers/get_voucher alias.
host: console name, ID, or composite ID (MAC:numericId format). site: site name or ID. Vouchers are offset-paginated (native default page size 100) and batches routinely exceed that; by default every page is drained and the complete list is returned as {data, totalCount}. Pass offset or limit for a single manual page. A capped drain is flagged incomplete.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| site | Yes | ||
| limit | No | ||
| offset | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||