unifi_create_voucher
Generate guest WiFi access vouchers with customizable time limits, data usage, and rate controls for UniFi Network hotspot management.
Instructions
Create hotspot vouchers
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>",
"name": "<name>",
"timeLimitMinutes": "<timeLimitMinutes>"
},
"name": "unifi_create_voucher"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteId | Yes | Site ID | |
| name | Yes | Voucher note/name (duplicated across all generated vouchers) | |
| timeLimitMinutes | Yes | How long the voucher provides access (1-1000000 minutes) | |
| count | No | Number of vouchers to create (1-1000, default: 1) | |
| authorizedGuestLimit | No | How many guests can use this voucher | |
| dataUsageLimitMBytes | No | Data usage limit in megabytes (1-1048576) | |
| rxRateLimitKbps | No | Download rate limit in kbps (2-100000) | |
| txRateLimitKbps | No | Upload rate limit in kbps (2-100000) |