add_bridge_vlan
Adds a bridge VLAN table entry to define tagged and untagged port membership for specified VLAN IDs, enabling VLAN configuration on MikroTik bridges.
Instructions
Adds an entry to the bridge VLAN table defining tagged/untagged port membership.
Notes: vlan_ids: single ID, comma list, or range e.g. "10", "10,20", "100-199" tagged: comma-separated ports carrying these VLANs tagged e.g. "ether1,ether2" untagged: comma-separated ports carrying these VLANs untagged
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": {
"bridge": "<bridge>",
"vlan_ids": "<vlan_ids>"
},
"name": "add_bridge_vlan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bridge | Yes | ||
| device | No | ||
| tagged | No | ||
| comment | No | ||
| disabled | No | ||
| untagged | No | ||
| vlan_ids | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |