Convert units
convert_unitsConvert laboratory values between mass, volume, or mass concentration units such as mg, mL, and mg/mL for accurate dilution and dosing calculations.
Instructions
Convert a value between units of the same kind: mass, volume or mass concentration. Supported units: kg, g, mg, mcg, ug, µg, ng, L, mL, uL, µL, nL, g/L, mg/mL, mg/L, mcg/mL, ug/mL, µg/mL, mcg/L, ug/L, µg/L, ng/mL. For laboratory calculations only.
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": {
"value": "<value>",
"from": "<from>",
"to": "<to>"
},
"name": "convert_units"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Unit to convert to, of the same kind as from. | |
| from | Yes | Unit to convert from, for example mg, mL or mg/mL. | |
| value | Yes | Value to convert. |