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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "update_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 |