update_vlan
Modify an existing pfSense VLAN by ID, updating its tag, description, parent interface, or priority code point and applying changes immediately.
Instructions
Update an existing VLAN by ID
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": "update_vlan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pcp | No | VLAN priority code point (0-7) | |
| tag | No | VLAN tag (1-4094) | |
| descr | No | Description | |
| vlan_id | Yes | VLAN ID (from search_vlans) | |
| parent_interface | No | Parent physical interface | |
| apply_immediately | No | Whether to apply changes immediately |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||