add_reservation
Create a DHCP reservation on a TP-Link router by binding a MAC address to a fixed IP; set confirm=true to approve the write.
Instructions
DHCP予約追加。書き換えのため confirm=true が必須。
例: add_reservation(macaddr="AA:BB:CC:DD:EE:FF", ipaddr="192.168.0.50", confirm=True)
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": {
"macaddr": "<macaddr>",
"ipaddr": "<ipaddr>"
},
"name": "add_reservation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enable | No | ||
| ipaddr | Yes | ||
| comment | No | ||
| confirm | No | ||
| macaddr | Yes |