update_mobility_device_network
Update LAN and DHCP settings on a UniFi Mobility device, including DHCP mode, IP range, and lease time, with optional dry-run preview before applying changes.
Instructions
Update LAN / DHCP settings on a UniFi Mobility device.
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": {
"workspace_id": "<workspace_id>",
"device_id": "<device_id>"
},
"name": "update_mobility_device_network"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Must be true to apply the change (required unless dry_run) | |
| dry_run | No | Preview the change without applying it | |
| device_id | Yes | Device UUID | |
| dhcp_mode | No | ``dhcp`` to enable DHCP serving, ``none`` to disable | |
| controller | No | Controller to run against (see list_controllers). Defaults to the controller chosen with select_controller, then the server default. | |
| host_address | No | LAN address of the device (CIDR) | |
| workspace_id | Yes | Workspace UUID | |
| dhcp_lease_time | No | Lease time in seconds (0 = infinite) | |
| dhcp_range_stop | No | Last address of the DHCP pool | |
| dhcp_range_start | No | First address of the DHCP pool |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||