Engineering unit conversion
convert_unitsConvert engineering values between units of length, mass, force, pressure, energy, power, area, volume, or temperature. Prevents invalid cross-dimension conversions.
Instructions
Convert a value between engineering units within the same physical dimension (length, mass, force, pressure/stress, energy, power, area, volume, temperature). Refuses cross-dimension conversions such as force to length.
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": "convert_units"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Target unit symbol, e.g. 'psi', 'mm', 'N', 'F'. | |
| from | Yes | Source unit symbol, e.g. 'MPa', 'in', 'lbf', 'C'. | |
| value | Yes | Numeric value to convert. |