Create Vlan
netbox_create_vlanCreate a new VLAN in NetBox by providing VLAN ID and name. Optionally set role, site, tags, status, and other attributes.
Instructions
Create a new vlan in NetBox.
This adds a new row to NetBox. Ask before calling if the user wanted a dry-run.
Returns: Markdown summary of the newly created object (default) or JSON with the full NetBox response.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vid | Yes | VLAN id (1-4094, required). | |
| name | Yes | VLAN name (required). | |
| role | No | ||
| site | No | ||
| tags | No | Optional array of tag slugs to apply to the object. | |
| group | No | ||
| status | No | active | |
| tenant | No | ||
| comments | No | ||
| qinq_role | No | Q-in-Q role (service vs customer VLAN). | |
| qinq_svlan | No | Q-in-Q service VLAN id (when this VLAN is a cvlan). | |
| description | No | ||
| custom_fields | No | Optional object of custom-field slugs -> values. Only include fields defined on your NetBox instance. | |
| response_format | No | Output format: 'markdown' (default, human-readable) or 'json' (full structured payload). Use 'json' when chaining follow-up tool calls. | markdown |