Unit Convert
unit_convertConverts numeric values between common length, weight, volume, and temperature units, enabling quick measurement translations for calculations and documentation.
Instructions
Convert numbers between common units (length: km/mi/m/ft/cm/in, weight: kg/lb, volume: l/gal, 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_unit": "<from_unit>",
"to_unit": "<to_unit>"
},
"name": "unit_convert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | ||
| to_unit | Yes | ||
| from_unit | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||