create_inventory_item
Add a new brewing inventory item for fermentables, hops, miscs, or yeasts, with optional stock amount and type-specific fields.
Instructions
Add a new item to the inventory.
``kind`` is fermentables, hops, miscs, or yeasts. ``amount`` is the starting
stock in Brewfather's stored metric units (kg for fermentables, g for hops).
``fields`` keys, all kinds: type, supplier, origin (the name goes in ``name``); plus
- fermentables: color (SRM), potential (SG, e.g. 1.037);
- hops: alpha (percent);
- miscs: unit, use;
- yeasts: attenuation (percent), laboratory, productId, form.
Returns {item_id}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| name | Yes | ||
| amount | No | ||
| fields | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||