Unit Converter
unit_convertConverts a number between units of length, mass, volume, area, speed, time, data size, pressure, energy and temperature. Returns the converted value and the normalized unit names. Use it when exact conversions matter (e.g. mi to km, GiB to GB, F to C). Limits: no currency conversion; units must be in the same dimension.
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": "unit_convert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | unit | |
| from | Yes | unit, e.g. mi, kg, f, gib | |
| value | Yes |