set_static_ip
Assign a fixed IP address to a device by MAC, adding or updating its DHCP reservation; previews the change unless confirmation is provided.
Instructions
Give a device a fixed IP (address reservation): adds it, or updates the existing reservation for that MAC. The device gets the address the next time it renews its lease. Without confirm=true it only shows the plan.
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": {
"mac": "<mac>",
"ip": "<ip>"
},
"name": "set_static_ip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | Yes | ||
| mac | Yes | ||
| device | No | Name of a device from devices.toml (see the 'devices' command); omit for the default device. | |
| confirm | No |