convert_unit
Convert between listed measurement units using a conversion ID or from/to unit pair. Get exact converted values for supported unit conversions.
Instructions
When: convert between listed measurement units (not free-form dimensional analysis). Params: value; either conversion_id OR from_unit+to_unit. Call list_unit_conversions first if unsure. Example: value=1, conversion_id="mile_to_km".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | ||
| to_unit | No | ||
| from_unit | No | ||
| conversion_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |