add_ip_address
Adds an IPv4 address to a specified interface on a MikroTik RouterOS device, enabling network connectivity and routing configuration.
Instructions
Adds an IP address to an interface on the MikroTik device.
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_ip_address"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | ||
| address | Yes | ||
| comment | No | ||
| network | No | ||
| disabled | No | ||
| broadcast | No | ||
| interface | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |