volume_to_weight
Convert an ingredient's volume to its weight in chosen units, enabling accurate recipe measurements and unit conversions.
Instructions
Weight of a given volume of an ingredient (e.g. 1 tbsp salt -> 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>",
"value": "<value>"
},
"name": "volume_to_weight"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | ||
| ingredient | Yes | ||
| volume_unit | No | ml | |
| weight_unit | No | g |