dhcp_networks
List DHCP server networks on a MikroTik device to view per-subnet options like address, gateway, DNS server, netmask, and domain handed out to clients on lease.
Instructions
List DHCP server networks (/ip/dhcp-server/network): address,
gateway, dns-server, netmask, domain, comment - the
per-subnet options a DHCP server (see dhcp_servers) hands out to
clients on lease. No boolean fields here to normalize.
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": {
"device_name": "<device_name>"
},
"name": "dhcp_networks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |