Manage DHCP Pool
manage_dhcp_poolAdd or remove an IP pool for DHCP on MikroTik routers. Pools are idempotent by name, with dry-run support for previewing changes.
Instructions
Add or remove an IP pool. Idempotent by name: add returns already_exists if a pool with the same name and ranges already exists.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| routerId | Yes | Target router identifier from the router registry | |
| action | Yes | Action to perform | |
| name | Yes | Pool name — idempotency key | |
| ranges | No | IP range (e.g. '192.168.1.100-192.168.1.200'; required for add) | |
| nextPool | No | Next pool name for overflow | |
| dryRun | No | Preview changes without applying |