Convert units
convert_unitsConvert numeric values between units of length, weight, volume, temperature, and more. Provide the value, source unit, and target unit to get the converted result.
Instructions
Convert a numeric value between two units of the same category (length, weight, volume, temperature, etc.). Units resolve by id or symbol (e.g. "cm" or "centimeter"). For currency use convert_currency.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Target unit id or symbol. | |
| from | Yes | Source unit id or symbol. | |
| value | Yes | ||
| category | No | Optional category id to disambiguate. |