add_ipv6_address
Assign an IPv6 address to a MikroTik interface, with support for pool-based prefixes, EUI-64, and Duplicate Address Detection settings.
Instructions
Adds an IPv6 address to an interface on the MikroTik device.
Notes:
address: IPv6 address with prefix length, e.g. "2001:db8::1/64" or
"fe80::1/64". When from_pool is used, supply the host part only,
e.g. "::1/64".
advertise: include this prefix in Router Advertisements (default no).
eui_64: derive the host part of the address from the interface MAC.
from_pool: name of an IPv6 pool to take the prefix from.
no_dad: skip Duplicate Address Detection.
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": {
"address": "<address>",
"interface": "<interface>"
},
"name": "add_ipv6_address"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | ||
| eui_64 | No | ||
| no_dad | No | ||
| address | Yes | ||
| comment | No | ||
| disabled | No | ||
| advertise | No | ||
| from_pool | No | ||
| interface | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |