get_vlans
Lists VLANs with IDs, names, status, and tagged/untagged port membership; filter by VLAN ID or port to see which VLANs exist or where a port belongs.
Instructions
List VLANs with ID, name, status and port membership (tagged/untagged).
Use to answer "which VLANs exist", "what VLANs is port 1/1/12 in", or "which ports carry VLAN 30 tagged". FastIron port names look like "1/1/12" (unit/module/port); LAGs look like "lg1".
Args: vlan_id: Only this VLAN. port: Only VLANs containing this port (substring/glob, e.g. "1/1/12"). include_members: Set False for a compact list of VLAN IDs and names only.
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 |
|---|---|---|---|
| port | No | ||
| vlan_id | No | ||
| include_members | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||