Convert a baby's weight or length between units
convert_measurementConverts a weight (kg, g, lb, oz) or a length (cm, m, in, ft) to every common unit, so a measurement quoted in pounds and ounces or feet and inches can go into the growth tools, which take kg and cm. For '7 lb 4 oz' pass value 7, unit lb, extra 4; for '2 ft 3 in' pass value 2, unit ft, extra 3.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | weight or length. | |
| unit | Yes | kg, g, lb, oz for weight; cm, m, in, ft for length. | |
| extra | No | Ounces to add when unit is lb, or inches to add when unit is ft. | |
| value | Yes | The number in the given unit. | |
| locale | No | Language for the disclaimer and any clinician note. Pass the language you will answer the user in: these are clinical safety texts written by a paediatrician, and they should reach the reader as written rather than translated by the model. | en |