create_inventory
Create a new inventory item for a project, supporting static, static-yaml, or file types. Specify project ID, name, and inventory data.
Instructions
Create a new inventory item.
Args: project_id: ID of the project name: Inventory name inventory_data: Inventory content (for "static") or file path on the Semaphore server (for "file") inventory_type: Semaphore inventory type, such as "static", "static-yaml", or "file". Defaults to "static".
Returns: Created inventory item details
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | ||
| name | Yes | ||
| inventory_data | Yes | ||
| inventory_type | No | static |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||