convert_units
Convert between kilometers and miles, kilograms and pounds, and Celsius and Fahrenheit with configurable precision.
Instructions
Convert between km/mi, kg/lb and °C/°F. Contract: contracts/convert_units (latest: v2).
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": "convert_units"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | ||
| to_unit | Yes | ||
| from_unit | Yes | ||
| precision | No |