convert_units
Convert between temperature, length, and weight units like Celsius to Fahrenheit or meters to feet. Specify value, source unit, target unit, and unit type.
Instructions
Convert between measurement units: temperature, length, or weight.
Use this for quick unit conversions without lookup tables.
Supports Celsius/Fahrenheit/Kelvin, meters/feet/inches/km/miles,
and kg/lb/oz/stone.
Parameters:
value — Numeric value to convert.
from_unit — Source unit (e.g. 'c', 'm', 'kg').
to_unit — Target unit (e.g. 'f', 'ft', 'lb').
unit_type — 'temperature' (default), 'length', or 'weight'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | ||
| from_unit | Yes | ||
| to_unit | Yes | ||
| unit_type | No | temperature |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |