update_inventory
Update an existing inventory item in a SemaphoreUI project by providing project ID and inventory ID, optionally changing the name, content, or type, and returning the updated details.
Instructions
Update an existing inventory item.
Args: project_id: ID of the project inventory_id: ID of the inventory item to update name: Inventory name (optional) inventory_data: Inventory content for "static", or file path for "file" (optional) inventory_type: Semaphore inventory type, such as "static", "static-yaml", or "file". Defaults to "static"; pass the existing type if you don't intend to change it.
Returns: Updated inventory item details
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| project_id | Yes | ||
| inventory_id | Yes | ||
| inventory_data | No | ||
| inventory_type | No | static |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||