list_dhcp_leases
List DHCP leases from MikroTik RouterOS to identify devices on the network. Filter by hostname, MAC, or IP, or restrict to active leases only.
Instructions
List DHCP leases — effectively the inventory of what is on the network.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| search | No | Case-insensitive match against hostname, MAC or address. | |
| active_only | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |