Convert units
unit_convertConvert length, mass, temperature, volume, time, area, speed, and data-size units.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "unit_convert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | The unit you want, like "mi", "kg", "F", or "GB". | |
| from | No | The unit you have, like "km", "lb", "C", or "MB". | |
| text | No | Instead of the three fields above, you can send words like "10 km to mi". | |
| value | No | The number to convert. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| tool | Yes | ||
| result | Yes |