convert_uom
Convert verified restaurant package sizes into pour/portion units (bottle mL → fl oz, keg gal → fl oz, pours per package, cost per pour). Refuses invented pack size or pourSpec. Fluid ounce ≠ weight ounce. House pour ounces come from ask_pour_standards / declare_pour_standards — never assume 1.5.
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": {
"op": "<op>"
},
"name": "convert_uom"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | Yes | Conversion operation. Use knowledge for the full UoM pack. Fountain BIB ops need operator-declared mix ratio + cup liquid fill — never invent 5+1 or ice fill. estimate_cup_liquid uses ice-pack interview bands (15/25/40%) as Estimated only. | |
| to | No | ||
| from | No | Volume: ml|l|flOz|gal. Mass: g|kg|ozAv|lb. | |
| amount | No | ||
| keg_gal | No | ||
| bib_cost | No | Invoice/landed $ for THIS BIB (syrup only). | |
| ice_note | No | ||
| ice_pack | No | For estimate_cup_liquid: light~15% / medium~25% / heavy~40% ice displacement. Estimated only — 9 oz heavy ≈ 5.4 oz liquid. | |
| syrup_gal | No | Fountain BIB syrup gallons (e.g. 5). Not finished beverage gallons. | |
| package_ml | No | ||
| unit_fl_oz | No | ||
| syrup_parts | No | Operator-declared syrup parts in mix ratio (usually 1). | |
| water_parts | No | Operator-declared water parts in mix ratio (e.g. 5 for 5+1). Never invent. | |
| package_cost | No | ||
| spirit_fl_oz | No | House spirit pour already in the cup — reduces soda fill. | |
| product_label | No | ||
| pour_spec_fl_oz | No | House pour in fl oz from THIS unit (1.5, 1.75, 2, or custom). Required for pours_per_package — never invent. | |
| cup_marked_fl_oz | No | ||
| liquid_fill_fl_oz | No | Liquid fl oz after ice + straw. Cup mark alone is not enough. | |
| pours_per_package | No | ||
| units_per_package | No |