Create vouchers
unifi_net_create_vouchersGenerates one or more UniFi hotspot vouchers from count, name, and duration, with dry-run previews and explicit confirmation before applying.
Instructions
Generates one or more hotspot vouchers. Body shape per UniFi docs (count, name, duration, …).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "unifi_net_create_vouchers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Voucher generation payload | |
| confirm | No | "YES" to apply; without it the tool returns a preview. | |
| dry_run | No | true: preview only, nothing is sent. |