convert_ingredient
Convert cooking ingredient amounts between cups, tablespoons, teaspoons, milliliters, fluid ounces, grams, and ounces using per-ingredient density values for accurate recipe measurements.
Instructions
Convert a cooking ingredient amount between cups, tablespoons, teaspoons, milliliters, fluid ounces, grams and ounces using a per-ingredient density table (e.g. 1 cup flour = 125 g).
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": {
"ingredient": "<ingredient>",
"amount": "<amount>",
"unit": "<unit>"
},
"name": "convert_ingredient"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | Yes | Unit: cups, tablespoons (tbsp), teaspoons (tsp), milliliters (ml), fluid ounces (floz), grams (g), ounces (oz) | |
| amount | Yes | Amount to convert from | |
| ingredient | Yes | Ingredient name, e.g. 'all-purpose flour', 'butter', 'honey' |