network_create_vouchers
Generate hotspot vouchers for guest Wi-Fi access on a local UniFi site, specifying duration, quota, and count to manage temporary network access.
Instructions
Create hotspot vouchers on a local UniFi site.
Args: site_id: The site ID. data: Voucher configuration (duration, quota, count, etc.).
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": {
"site_id": "<site_id>",
"data": "<data>"
},
"name": "network_create_vouchers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| site_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |