convert_unit
Convert any value between units of length, weight, volume, or temperature (e.g., km to miles, Celsius to Fahrenheit) to resolve unit-math errors in calculations.
Instructions
Convert a value between units of length, weight, volume, or temperature (fixes LLM unit-math errors)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | ||
| toUnit | Yes | e.g. "mi", "kg", "fahrenheit", "l" | |
| fromUnit | Yes | e.g. "km", "lb", "celsius", "gal" |