convert_units
Convert between units of length, mass, volume, area, speed, time, data size and temperature, e.g. 5 miles to km or 72 F to C.
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 | ||
| from | Yes | Unit, e.g. mi, km, lb, kg, gal, l, mph, GB, MiB, C, F, K. | |
| value | Yes |