update_dhcp_static_mapping
Modify an existing pfSense DHCP static mapping by ID, updating only the fields you provide while leaving all unset values unchanged.
Instructions
Update an existing DHCP static mapping by ID
Only the parameters you pass are sent, so unset ones keep their stored values.
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": {
"mapping_id": "<mapping_id>"
},
"name": "update_dhcp_static_mapping"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hostname | No | New hostname | |
| interface | No | New interface/DHCP pool | |
| ip_address | No | New IP address | |
| mapping_id | Yes | Static mapping ID | |
| description | No | New description | |
| mac_address | No | New MAC address | |
| max_lease_time | No | New per-host maximum lease time in seconds | |
| apply_immediately | No | Whether to apply changes immediately | |
| default_lease_time | No | New per-host default lease time in seconds |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||