convert_energy
Convert energy values between units like joules, kilocalories, BTUs, and kilowatt-hours. Specify the value, source unit, and target unit for conversion.
Instructions
Convert between different energy units
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>",
"fromUnit": "<fromUnit>",
"toUnit": "<toUnit>"
},
"name": "convert_energy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | Energy value to convert | |
| fromUnit | Yes | Source energy unit | |
| toUnit | Yes | Target energy unit |