Create Interface
netbox_create_interfaceCreate a network interface on a device in NetBox by specifying device, name, and type, with optional fields like VLAN, speed, and MTU.
Instructions
Create a new interface 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 |
|---|---|---|---|
| lag | No | Parent LAG interface id. | |
| mtu | No | ||
| vrf | No | VRF id bound to this interface. | |
| wwn | No | World Wide Name (Fibre Channel). | |
| mode | No | ||
| name | Yes | Interface name (required). | |
| tags | No | Optional array of tag slugs to apply to the object. | |
| type | Yes | Interface type slug, e.g. '1000base-t', 'virtual', 'lag' (required). | |
| label | No | ||
| speed | No | Interface speed in kbps. | |
| bridge | No | ||
| duplex | No | ||
| module | No | Module id this interface belongs to. | |
| parent | No | Parent interface id for subinterfaces. | |
| enabled | No | ||
| poe_mode | No | PoE mode. | |
| poe_type | No | PoE type slug, e.g. type1-ieee802.3af. | |
| device_id | Yes | Device id (required). Exposed as device_id (not device) because the remote-devices bridge reserves the name device; the server maps it back to the NetBox API field device on write. | |
| mgmt_only | No | ||
| description | No | ||
| mac_address | No | ||
| tagged_vlans | No | Array of VLAN ids for trunks. | |
| custom_fields | No | Optional object of custom-field slugs -> values. Only include fields defined on your NetBox instance. | |
| untagged_vlan | No | VLAN id for access / native VLAN. | |
| mark_connected | No | Treat as connected even without a cable. | |
| response_format | No | Output format: 'markdown' (default, human-readable) or 'json' (full structured payload). Use 'json' when chaining follow-up tool calls. | markdown |