Manage firewall address lists
mikrotik_address_listAdd or remove IP addresses, ranges, subnets, or DNS names in a firewall address list to allow or block specific hosts on MikroTik devices.
Instructions
Add or remove an address in a firewall address list (commonly used to block or allow hosts).
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>",
"address": "<address>"
},
"name": "mikrotik_address_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ipv6 | No | ||
| list | Yes | ||
| action | Yes | ||
| device | No | Name of the configured device. Defaults to the first device (see mikrotik_list_devices). | |
| address | Yes | IP, range, subnet or DNS name | |
| comment | No | ||
| timeout | No | Auto-expire, e.g. "1h" or "1d" |