create_vlan
Add a new VLAN to a specified interface with a VLAN tag, optional description, and Priority Code Point on the OPNSense MCP Server for streamlined network segmentation.
Instructions
Create a new 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": {
"interface": "<interface>",
"tag": "<tag>"
},
"name": "create_vlan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| description | No | VLAN description | |
| interface | Yes | Physical interface (e.g., igc3) | |
| pcp | No | Priority Code Point (0-7) | 0 |
| tag | Yes | VLAN tag (1-4094) |