Manage DHCP Lease
manage_dhcp_leaseConvert a dynamic DHCP lease to static or remove a lease by MAC address, with optional dry-run preview before applying changes.
Instructions
Convert a dynamic DHCP lease to static (make-static) or remove a lease. Idempotent by MAC address.
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": {
"action": "<action>",
"macAddress": "<macAddress>"
},
"name": "manage_dhcp_lease"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action to perform: make-static converts a dynamic lease to static; remove deletes the lease | |
| dryRun | No | Preview changes without applying. | |
| routerId | No | Router ID; omit to use the default router. | |
| macAddress | Yes | MAC address of the lease — idempotency key (case-insensitive) | |
| confirmationToken | No | Token from a prior APPROVAL_REQUIRED response. Re-submit the identical call with this token to confirm the destructive action. |