add_inventory_item
Adds a new inventory item with specified name, price, stock, and description. Creates a product entry in the inventory management system for tracking.
Instructions
Adds a new inventory item to the inventory management system.
Args:
name: The name of the inventory item.
price: The price of the inventory item.
stock: The new_stock quantity of the inventory item.
description: A description of the inventory item.
Returns:
A confirmation message or an error message in json format if the request fails.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| price | Yes | ||
| stock | Yes | ||
| description | Yes |