unit_convert
Unit conversion, unit converter (metric, imperial, temperature, cooking). Convert between units of length, weight, volume (including cooking cups and spoons), area, speed, time, data size, pressure, energy and temperature. E.g. value=5&from=mi&to=km, or 100 f to c. Price: $0.002 per call (x402, USDC on Base).
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 | ||
| from | Yes | ||
| value | Yes |