get_hotspot_ssid_passphrase
Retrieve the current Wi-Fi hotspot SSID and WPA passphrase. Works only when the device is in hotspot mode; otherwise returns an error.
Instructions
Get the hotspot SSID and WPA passphrase.
Read from the hostapd configuration. Returns an error if the device is not in hotspot mode.
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_ssid_passphrase"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||