energy_convert
Convert energy values between joules, calories, watt-hours, kilowatt-hours, BTU, foot-pounds, and electronvolts.
Instructions
Convert between energy units: J, cal, Wh, kWh, BTU, ft-lb, eV.
Parameters:
value — Energy value.
from_unit — Source unit.
to_unit — Target unit.
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": "energy_convert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | ||
| from_unit | Yes | ||
| to_unit | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |