unit_convert
Convert length, mass, volume (US units), area, speed, data size or temperature (c, f, k).
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, e.g. km, lb, l, c | |
| from | Yes | Unit, e.g. mi, kg, gal, f | |
| value | Yes | Number to convert |