get_hotspot_clients
Retrieve the number of clients connected to the current Wi-Fi hotspot. Detects the AP interface automatically, with an option to specify it, and returns an error if the device isn't in hotspot mode.
Instructions
Get the connected client count in hotspot mode.
Returns an error if the device is not in hotspot mode.
Args: iface: Optional AP interface name; auto-detected if omitted.
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": "get_hotspot_clients"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| iface | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||