delete_vlan
Remove a specific VLAN from an Ethernet interface. Optionally suppress errors if the VLAN does not exist.
Instructions
Delete a VLAN from an ethernet interface.
Args: interface: Ethernet interface (e.g. 'eth0'). Cannot be 'all'. vlan_id: VLAN ID to delete allow_missing: If True, don't error if the VLAN doesn't exist
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": {
"interface": "<interface>",
"vlan_id": "<vlan_id>"
},
"name": "delete_vlan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vlan_id | Yes | ||
| interface | Yes | ||
| allow_missing | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||