energy_converter
Convert energy values between joules, kilojoules, calories, kilocalories, watt-hours, kilowatt-hours, and BTU. Provide the numeric value, source unit, and target unit to get the conversion.
Instructions
Convert energy: j/kj ↔ cal/kcal ↔ wh/kwh ↔ btu. Input: value, from, to.
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": "energy_converter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| from | Yes | ||
| value | Yes |