unit_conversion
Convert values between units of length, weight, temperature, volume, and area. Specify the value, source unit, target unit, and category to get the converted result.
Instructions
Convert between different units of measurement.
Categories and units — length: mm, cm, m, km, in, ft, yd, mi, mil, μm, nm; weight: mg, g, kg, t, oz, lb, st, ton; temperature: C, F, K, R; volume: ml, cl, dl, l, kl, fl_oz, cup, pt, qt, gal, tsp, tbsp, bbl; area: mm2, cm2, m2, km2, in2, ft2, yd2, mi2, acre, ha.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | ||
| to_unit | Yes | Target unit symbol. | |
| category | Yes | ||
| from_unit | Yes | Source unit symbol. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||