calculate_bmi
Calculate Body Mass Index (BMI) using weight and height. Supports metric (kg, cm) and imperial (lbs, inches) units.
Instructions
Calculate BMI (Body Mass Index) from weight and height.
Parameters:
weight — Weight (kg for metric, lbs for imperial).
height — Height (cm for metric, inches for imperial).
unit — 'metric' (default) or 'imperial'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| weight | Yes | ||
| height | Yes | ||
| unit | No | metric |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |