create_vouchers
Create one or more hotspot vouchers that let guests access the network with a code, with configurable time, data, and guest limits.
Instructions
Create one or more hotspot vouchers.
Vouchers allow guests to access the network by entering a code. Each voucher can be used by multiple guests up to the authorized limit.
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>",
"name": "<name>",
"time_limit_minutes": "<time_limit_minutes>"
},
"name": "create_vouchers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Voucher note/description | |
| count | No | Number of vouchers to create (1-1000) | |
| site_id | Yes | Site UUID | |
| time_limit_minutes | Yes | Time limit per voucher in minutes (1-1000000) | |
| data_usage_limit_mb | No | Data usage limit in MB (1-1048576) | |
| authorized_guest_limit | No | Number of guests per voucher (min 1) | |
| upload_rate_limit_kbps | No | Upload rate limit in Kbps (2-100000) | |
| download_rate_limit_kbps | No | Download rate limit in Kbps (2-100000) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vouchers | Yes |