add_product
Add products to Chirak inventory by entering name, price, stock, barcode, and category. Ideal for registering items or parsing wholesale invoice data.
Instructions
Add a new product to Chirak inventory. Use this when the user asks to add items, parse wholesale invoices, or register products.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sku | No | Stock Keeping Unit code (e.g. 'GMLK-01'). | |
| name | Yes | Full product title/name (required). | |
| unit | No | Unit type: 'Adet', 'Kg', 'Gram', 'Kutu', 'Çift', 'Libre', 'Ons'. | |
| barcode | No | EAN-13, QR, or other barcode string. | |
| category | No | Product category name (e.g. 'General', 'Giyim', 'Kahve'). | |
| currency | No | ISO currency code (e.g. 'TRY', 'USD', 'EUR'). | |
| costPrice | No | Purchase or wholesale cost price (optional, default: 0). | |
| minimumStock | No | Low stock alert threshold (default: 5). | |
| sellingPrice | Yes | Retail selling price for the product (e.g. 150.0). | |
| stockQuantity | No | Initial physical stock quantity (default: 0). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Result data payload from Chirak API. | |
| success | No | Status of the tool execution. |