volume_convert
Convert volume between liters, gallons, quarts, cups, milliliters, ounces, and cubic meters. Specify value, source unit, and target unit for instant conversion.
Instructions
Convert between volume units: liters, gallons, quarts, cups, ml, oz, cubic meters.
Parameters:
value — Volume value to convert.
from_unit — Source unit.
to_unit — Target unit.
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": {
"value": "<value>",
"from_unit": "<from_unit>",
"to_unit": "<to_unit>"
},
"name": "volume_convert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | ||
| from_unit | Yes | ||
| to_unit | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |