create_inventory_product
Create a General Inventory product (optionally manufactured, with a BOM recipe). SKU must be unique in the farm. Supports confirm (false = dry-run preview) and idempotencyKey.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"farmId": "<farmId>",
"sku": "<sku>",
"productName": "<productName>"
},
"name": "create_inventory_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sku | Yes | Unique product SKU | |
| asin | No | Amazon ASIN | |
| unit | No | Unit of measure (e.g. each, pair, lb) | |
| farmId | Yes | The unique farm ID | |
| hasBom | No | True for manufactured items that have a BOM recipe | |
| status | No | Product status (default active) | |
| barcode | No | Barcode / UPC | |
| confirm | No | Set to true to commit, false for dry-run preview | |
| category | No | Inventory category | |
| costPerUnit | No | Cost per unit | |
| productName | Yes | Product name | |
| initialStock | No | Optional initial stock (logged as "Initial stock setup" like the app) | |
| reorderPoint | No | Reorder point | |
| sellingPrice | No | Selling price | |
| bomComponents | No | BOM lines (replaces the whole BOM when given). Components must already exist in this farm's inventory. | |
| idempotencyKey | No | Unique request idempotency key | |
| shortDescription | No | Short description |