create_address_list_entry
Add an IPv4 or IPv6 address or hostname entry to a MikroTik firewall address list, with optional comment, timeout, or disabled state.
Instructions
Adds an entry to an IPv4 or IPv6 firewall address list.
Notes: address: an address or prefix; a hostname is also accepted and RouterOS adds a dynamic child entry per resolved address. timeout: RouterOS duration e.g. "1h". An entry with a timeout is dynamic, so it does not survive a reboot. list_name is matched exactly, including any leading or trailing spaces.
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": {
"family": "<family>",
"list_name": "<list_name>",
"address": "<address>"
},
"name": "create_address_list_entry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | ||
| family | Yes | ||
| address | Yes | ||
| comment | No | ||
| timeout | No | ||
| disabled | No | ||
| list_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |