Create Inventory_item
netbox_create_inventory_itemCreate a new inventory item in NetBox, linked to a device by ID, with required name and optional fields for serial, manufacturer, and custom data.
Instructions
Create a new inventory_item 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 |
|---|---|---|---|
| name | Yes | Inventory item name (required). | |
| role | No | Inventory item role id. | |
| tags | No | Optional array of tag slugs to apply to the object. | |
| label | No | ||
| parent | No | Parent inventory item id (nestable). | |
| serial | No | ||
| part_id | No | ||
| asset_tag | No | ||
| device_id | Yes | Device id (required). Exposed as device_id (not device) for the remote-devices bridge; mapped to the API field device on write. | |
| discovered | No | ||
| description | No | ||
| component_id | No | Optional linked component id. | |
| manufacturer | No | Manufacturer id. | |
| custom_fields | No | Optional object of custom-field slugs -> values. Only include fields defined on your NetBox instance. | |
| component_type | No | Optional linked component type, e.g. 'dcim.interface'. | |
| response_format | No | Output format: 'markdown' (default, human-readable) or 'json' (full structured payload). Use 'json' when chaining follow-up tool calls. | markdown |