Manage IPv6 Address
manage_ipv6_addressAdd, update, or remove static IPv6 addresses on MikroTik router interfaces, including EUI-64 and DHCPv6-PD pool addresses, with idempotent checks and dry-run support.
Instructions
Add, update, or remove a static IPv6 address on a MikroTik router interface, including EUI-64 and DHCPv6-PD pool (fromPool) addresses. Idempotent by address and interface: an identical add returns already_exists, an update with nothing to change returns no_change. Addresses are compared in canonical form. Dynamic addresses are refused. Supports dry-run for all actions.
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>",
"address": "<address>",
"interface": "<interface>"
},
"name": "manage_ipv6_address"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| eui64 | No | Generate the last 64 bits from the interface MAC (EUI-64); the prefix length must be 64 or shorter | |
| noDad | No | Skip duplicate address detection; omit to keep RouterOS's default (DAD on) | |
| action | Yes | Action to perform: add, update, or remove an IPv6 address | |
| dryRun | No | If true, validate and return planned changes without applying | |
| address | Yes | IPv6 address with prefix length, e.g. 2001:db8::1/64. With eui64, a prefix such as 2001:db8:1::/64 (the interface ID is generated). With fromPool, the interface-ID suffix such as ::1/64 (the prefix comes from the pool). | |
| comment | No | Optional comment for the address entry | |
| disabled | No | Whether the address should be disabled | |
| fromPool | No | IPv6 pool (e.g. one filled by DHCPv6 prefix delegation) that supplies the prefix; address then gives only the suffix | |
| routerId | No | Router ID; omit to use the default router. | |
| advertise | No | Advertise this prefix in router advertisements (SLAAC); omit to keep RouterOS's default | |
| interface | Yes | Interface the address is assigned to | |
| confirmationToken | No | Token from a prior APPROVAL_REQUIRED response. Re-submit the identical call with this token to confirm the destructive action. |