delete_vlan
Permanently deletes a VLAN from pfSense by its ID, with dry-run preview and confirmation gates to prevent accidental removal of network segments.
Instructions
Delete a VLAN 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": {
"vlan_id": "<vlan_id>"
},
"name": "delete_vlan"
}
}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. | |
| vlan_id | Yes | VLAN ID (from search_vlans) | |
| apply_immediately | No | Whether to apply changes immediately |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||