converters_units
Unit converter: 14 categories and over 130 units with exact factors
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": {
"category": "<category>",
"value": "<value>",
"from": "<from>",
"to": "<to>"
},
"name": "converters_units"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Unit id to convert to. | |
| from | Yes | Unit id to convert from, for example gal_us, km_h, psi, kwh (see units-list for the ids and aliases). | |
| value | Yes | The number to convert. | |
| category | Yes | length, weight, temperature, volume, area, speed, pressure, energy, power, time, data_transfer, angle, fuel_economy or cooking. List the units of each with /v1/converters/units-list. |