Update a bottle
update_bottleUse this when the user wants to record stock for a bottle (a weighed count, or grams bought or used, through the stock ledger) or change its price per gram, supplier, lot, low-stock warning, strength, solvent or notes, take it on or off the shelf, or make it the preferred bottle.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lot | No | ||
| notes | No | ||
| bottle | No | The bottle id from list_shelf. | |
| reason | No | ||
| onShelf | No | ||
| solvent | No | ||
| addGrams | No | Grams bought (positive) or used (negative). | |
| material | No | ||
| supplier | No | ||
| countGrams | No | What the bottle holds now, weighed. | |
| dilutionPct | No | With bottle: its new strength. Without bottle: which of the material's bottles to change. | |
| makeDefault | No | ||
| pricePerGram | No | ||
| lowStockGrams | No |