Unit Converter
calculator_convertConvert a value between units. Categories: length, weight, area, volume, temperature, time, speed, pressure, energy, power.
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>",
"category": "<category>"
},
"name": "calculator_convert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | Numeric value to convert. | |
| to_unit | Yes | Target unit (aliases supported). | |
| category | Yes | length|weight|area|volume|temperature|time|speed|pressure|energy|power | |
| from_unit | Yes | Source unit (aliases supported). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | ||
| category | Yes | ||
| expression | Yes |