cooking_convert_units
Convert between cooking measurement units — cups, tablespoons, grams, ounces, milliliters, and more. TRIGGERS:
'how many grams in a cup', 'convert tablespoons to cups'
'ounces to grams', 'ml to cups', 'teaspoons in a tablespoon'
'metric to imperial', 'cooking conversions'
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount to convert (e.g. 2.5) | |
| toUnit | Yes | Unit to convert to | |
| fromUnit | Yes | Unit to convert from (e.g. 'cups', 'tbsp', 'oz', 'g', 'ml', 'tsp', 'lb', 'kg') | |
| ingredient | No | Optional ingredient for weight/volume conversions (e.g. 'flour', 'sugar', 'butter') — different ingredients have different densities |