set_recipe_ingredient_unit
Change an ingredient's stored unit in a recipe and convert its amount between weight and volume, including density-based conversions.
Instructions
Change the stored unit of one ingredient, converting its amount.
Handles weight↔weight, volume↔volume, and weight↔volume (via density).
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": {
"recipe_id": "<recipe_id>",
"ingredient": "<ingredient>",
"new_unit": "<new_unit>"
},
"name": "set_recipe_ingredient_unit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new_unit | Yes | ||
| recipe_id | Yes | ||
| ingredient | Yes |