convert_unit
Convert any numeric value between physical units for length, weight, temperature, volume, and time.
Instructions
Convert quantities between physical units (length, weight/mass, temperature, volume, time).
Examples:
convert_unit(100, "degC", "degF") -> Fahrenheit
convert_unit(5, "km", "miles") -> Miles
convert_unit(2, "hours", "sec") -> Seconds
Args: value: Numerical value to convert from_unit: Source unit string (e.g., 'km', 'miles', 'kg', 'lbs', 'degC', 'degF', 'hr', 'sec') to_unit: Target unit string
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | ||
| to_unit | Yes | ||
| from_unit | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |