unifi_get_voucher
Retrieve a specific hotspot voucher by ID to manage guest access on UniFi networks. Provide site ID and voucher ID to fetch voucher details.
Instructions
Get a specific hotspot voucher by ID
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": {
"siteId": "<siteId>",
"voucherId": "<voucherId>"
},
"name": "unifi_get_voucher"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteId | Yes | Site ID | |
| voucherId | Yes | Voucher ID |