Unit Conversion
convert_unitsConvert numeric values between different units of measurement across categories like length, mass, time, and temperature.
Instructions
Unit conversion
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>",
"unit_type": "<unit_type>"
},
"name": "convert_units"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | Numeric value to convert | |
| from_unit | Yes | Source unit | |
| to_unit | Yes | Target unit | |
| unit_type | Yes | Unit category (length, mass, time, temperature, etc.) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||