add_nodes_to_inventory
Add multiple nodes to an Itential inventory, specifying names, connection attributes, and optional tags for classification.
Instructions
Add nodes in bulk to an existing inventory on Itential Platform.
Adds one or more nodes with full attribute details to an inventory. Each node requires a name and attributes dictionary containing connection and platform details. Tags can be optionally provided per node for classification.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodes | Yes | List of node objects to add to the inventory. Each node must include 'name' (str) and 'attributes' (dict with keys like itential_host, itential_platform, cluster_id, itential_user, itential_password). Optionally include 'tags' (list of strings). | |
| inventory_name | Yes | The name of the inventory to add nodes to. Use `get_inventories` to see available inventories. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | Message that provides the status of the operation | |
| message | Yes | Short description of the status of the operation |