create_dhcp_pool
Create a DHCP address pool on a MikroTik router by specifying named IP ranges. Supports hyphen-separated ranges and comma-separated multiple ranges for flexible address allocation.
Instructions
Creates a DHCP address pool with the given IP ranges on the MikroTik device.
Notes: ranges: hyphen-separated range(s) e.g. "192.168.1.1-192.168.1.100" Multiple ranges comma-separated: "10.0.0.1-10.0.0.50,10.0.0.100-10.0.0.120"
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": {
"name": "<name>",
"ranges": "<ranges>"
},
"name": "create_dhcp_pool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| device | No | ||
| ranges | Yes | ||
| comment | No | ||
| next_pool | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |