Manage Bridge Port
manage_bridge_portAdd or remove an interface from a MikroTik router bridge. Idempotent design prevents duplicate port assignments and reports already_exists when the port is already present.
Instructions
Add or remove an interface from a bridge on a MikroTik router. Idempotent: add returns already_exists if the port assignment already exists.
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": {
"action": "<action>",
"bridge": "<bridge>",
"interface": "<interface>"
},
"name": "manage_bridge_port"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action to perform | |
| bridge | Yes | Bridge interface name | |
| dryRun | No | Preview changes without applying. | |
| routerId | No | Router ID; omit to use the default router. | |
| interface | Yes | Interface to add or remove as a bridge port | |
| confirmationToken | No | Token from a prior APPROVAL_REQUIRED response. Re-submit the identical call with this token to confirm the destructive action. |