switch_get_vlans
Reads the 802.1Q VLAN table and per-port PVIDs from a TP-Link Easy Smart switch via MCP, returning NOT_SUPPORTED when firmware lacks a VLAN page.
Instructions
Read-only: the 802.1Q VLAN table and per-port PVIDs. Returns NOT_SUPPORTED if this firmware does not serve a VLAN page. Does not mutate.
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": "switch_get_vlans"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||