calculate_bmi
Calculate Body Mass Index (BMI) using weight and height. Supports metric (kg/cm) and imperial (lbs/in) 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'.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"weight": "<weight>",
"height": "<height>"
},
"name": "calculate_bmi"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| weight | Yes | ||
| height | Yes | ||
| unit | No | metric |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |