create_dhcp_server
Creates a DHCP server on a MikroTik device and binds it to a specified interface, with optional lease time, address pool, and authoritative settings.
Instructions
Creates a DHCP server bound to the specified interface on the MikroTik device.
Notes: lease_time: duration e.g. "1d", "12h", "30m", "1h30m"
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>",
"interface": "<interface>"
},
"name": "create_dhcp_server"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| device | No | ||
| comment | No | ||
| disabled | No | ||
| interface | Yes | ||
| lease_time | No | 1d | |
| address_pool | No | ||
| authoritative | No | yes | |
| delay_threshold | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |