Convert units
convert_unitsConvert a value between units of length, mass, time, volume, energy, or temperature, while refusing conversions across incompatible unit types.
Instructions
Convert a value between units of length, mass, time, volume, energy or temperature. It refuses to convert one kind of unit into another.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | The unit to convert it to. | |
| from | Yes | The unit it is in, like km, kg, mL, J or C. | |
| value | Yes | The number to convert. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |