get_vlans
Retrieve VLAN interfaces on a WLAN Pi, optionally filtered by Ethernet interface or VLAN ID, to identify configured VLANs.
Instructions
Get VLAN interfaces on the WLAN Pi.
Args: interface: Ethernet interface to filter by (e.g. 'eth0'). If omitted, returns all interfaces. vlan_id: VLAN ID to filter by. If omitted, returns all VLANs.
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_vlans"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vlan_id | No | ||
| interface | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||