create_vlan_interface
Creates a VLAN interface on a MikroTik device using a specified VLAN ID and parent interface, enabling network segmentation and tagged traffic management.
Instructions
Creates a VLAN interface on the MikroTik device with the given VLAN ID and parent interface.
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": {
"name": "<name>",
"vlan_id": "<vlan_id>",
"interface": "<interface>"
},
"name": "create_vlan_interface"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| arp | No | enabled | |
| mtu | No | ||
| name | Yes | ||
| device | No | ||
| comment | No | ||
| vlan_id | Yes | ||
| disabled | No | ||
| interface | Yes | ||
| arp_timeout | No | ||
| use_service_tag | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |