convert_units
Convert a value between units for metric and imperial length, mass, time, speed, energy, power, pressure, temperature, volume, area, data, and frequency. Supports unit aliases.
Instructions
Convert a value between units (dimensional analysis via sympy).
Supports metric/imperial length, mass, time, speed, energy, power, force, pressure, temperature (°C/°F/K), volume, area, data sizes, frequency. Examples: ('60','mph','km/h'), ('100','celsius','fahrenheit'), ('1','gb','mib'). Use list_units for the full alias table.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | ||
| to_unit | Yes | ||
| from_unit | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||