create_inventory
Create an inventory to logically group network devices for management, configuration, compliance, and automation. Optionally populate it with devices now or later.
Instructions
Create a new inventory and optionally populate it with devices on Itential Platform.
Inventories enable logical organization of network devices for streamlined management, configuration deployment, compliance checking, and automation workflows. Devices can be added during creation or later.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The name of the inventory to create | |
| groups | Yes | List of authorization group names to assign to the inventory. At least one group is required. | |
| devices | No | List of device names to include in the inventory. Use `get_devices` to see available devices. | |
| description | No | Short description of the inventory |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _id | Yes | Unique identifier for the created inventory | |
| name | Yes | Name of the inventory | |
| message | No | Status message describing the create operation | Inventory created successfully |