weight_to_volume
Convert a given weight of an ingredient into its volume, such as 10 g salt to ml, by specifying the ingredient name, value, and optional units.
Instructions
Volume occupied by a given weight of an ingredient (e.g. 10 g salt -> ml).
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": "weight_to_volume"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | ||
| ingredient | Yes | ||
| volume_unit | No | ml | |
| weight_unit | No | g |