remove_vlan_members
Removes specified ports from an existing 802.1Q VLAN by reading current VLAN state and setting only those ports to non-member, leaving other members unchanged.
Instructions
Remove ports from an existing 802.1Q VLAN.
Reads the current VLAN state and removes the specified ports (sets them to non-member) without affecting other existing members.
Args: vid: VLAN ID of the existing VLAN to modify. ports: Port numbers to remove from the VLAN.
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": {
"vid": "<vid>",
"ports": "<ports>"
},
"name": "remove_vlan_members"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vid | Yes | ||
| ports | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |