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}.
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": {
"kind": "<kind>",
"name": "<name>"
},
"name": "create_inventory_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| name | Yes | ||
| amount | No | ||
| fields | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||