set_vlan_enabled
Enable or disable 802.1Q VLAN mode on a TP-Link SG1016 switch. Use it to control VLAN separation; disabling 802.1Q removes all VLAN separation, leaving only one active VLAN mode.
Instructions
Enable or disable 802.1Q VLAN mode on the switch.
WARNING: Disabling 802.1Q removes all VLAN separation. Only one VLAN mode (802.1Q, MTU, or port-based) can be active at a time.
Args: enabled: True to enable 802.1Q VLANs, False to disable.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"enabled": "<enabled>"
},
"name": "set_vlan_enabled"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |