delete_dhcp_static_mapping
Delete a DHCP static mapping by ID and interface to remove an IP reservation from pfSense. Requires confirmation for this irreversible action.
Instructions
Delete a DHCP static mapping by ID. WARNING: This is irreversible.
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>",
"interface": "<interface>"
},
"name": "delete_dhcp_static_mapping"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Must be set to True to execute. Safety gate for destructive operations. | |
| dry_run | No | If True, preview the operation without executing. | |
| interface | Yes | Interface/DHCP pool the mapping belongs to (e.g., "lan"). Required to avoid race conditions with auto-detection. | |
| mapping_id | Yes | Static mapping ID | |
| apply_immediately | No | Whether to apply changes immediately |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||