dhcp_reservation
Manage DHCP address reservations on TP-Link routers: list leases, add or update MAC-to-IP mappings, remove reservations, and pin a client's current IP. Warns about randomized MACs.
Instructions
DHCP address reservations (stable IPs, e.g. for kiosk tablets). action=list (with lease status and random-MAC warnings) | leases | add (mac, ip, name) | update (mac + ip/name/enable) | remove (mac) | reserve_current (pin a client's CURRENT address; identify it by mac, current_ip or client hostname). MACs in any format. Warns when a MAC is randomised/private - that device must use its real MAC.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "dhcp_reservation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | No | ||
| mac | No | ||
| name | No | ||
| apply | No | false (default) = dry run: show the plan, diff, warnings and risk, send nothing. true = send it. | |
| action | No | list | |
| client | No | ||
| enable | No | ||
| reveal | No | Show secrets (passwords/keys) unmasked. | |
| router | No | Which router (see router_status 'routers'); default main. | main |
| current_ip | No | ||
| confirm_token | No | Required with apply=true for CRITICAL changes: the token from the dry run (valid 5 minutes, bound to the exact plan and current router state). |