delete_interface
Permanently unassign a pfSense interface by ID, with optional dry-run preview and a confirmation gate to prevent accidental irreversible removal.
Instructions
Delete (unassign) an interface 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": {
"interface_id": "<interface_id>"
},
"name": "delete_interface"
}
}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_id | Yes | Interface ID, which the API keys by name: "wan", "lan", or "optN" (e.g. "opt16"). Take it from the "id" field returned by search_interface_configs, not from the row's position. | |
| apply_immediately | No | Whether to apply changes immediately |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||