unit_convert
Convert values between units in categories like length, weight, temperature, and data. Specify the value, source unit, and target unit to get the converted result.
Instructions
Convert between units of the same category. Categories: length (mm, cm, m, km, inch, in, ft, yard, yd, mile, mi), weight (mg, g, kg, ton, t, oz, lb, pound), temperature (C, F, K), data (bit, byte, KB, MB, GB, TB). Example: convert 100 from 'cm' to 'inch'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Target unit, e.g. 'inch', 'lb', 'F', 'MB' | |
| from | Yes | Source unit, e.g. 'cm', 'kg', 'C', 'KB' | |
| value | Yes | The value to convert |