Manage Interface List Member
manage_interface_list_memberAdd or remove an interface from a MikroTik interface list. Idempotent by list and interface key; add returns already_exists and remove returns not_found gracefully.
Instructions
Add or remove an interface from an interface list. Idempotent by list+interface composite key. add returns already_exists if the membership exists. remove returns not_found gracefully.
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>",
"list": "<list>",
"interface": "<interface>"
},
"name": "manage_interface_list_member"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| list | Yes | Interface list name — part of composite idempotency key | |
| action | Yes | Action to perform | |
| dryRun | No | Preview changes without applying. | |
| comment | No | Optional comment | |
| routerId | No | Router ID; omit to use the default router. | |
| interface | Yes | Interface name to add/remove — part of composite idempotency key | |
| confirmationToken | No | Token from a prior APPROVAL_REQUIRED response. Re-submit the identical call with this token to confirm the destructive action. |