convert_energy
Convert energy values between units such as joules, watt hours, BTUs, and more. Simplify calculations for scientific, engineering, or everyday use with precise unit conversions.
Instructions
Convert energy between units.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
from_unit | Yes | Source unit | |
to_unit | Yes | Target unit | |
value | Yes | Energy value to convert |
Input Schema (JSON Schema)
{
"properties": {
"from_unit": {
"description": "Source unit",
"enum": [
"joule",
"kilojoule",
"megajoule",
"gigajoule",
"terajoule",
"petajoule",
"exajoule",
"watt hour",
"kilowatt hour",
"megawatt hour",
"gigawatt hour",
"terawatt hour",
"Btu",
"calorie",
"kilocalorie",
"therm",
"foot‑pound force",
"inch‑pound force",
"erg",
"electron volt"
],
"title": "From Unit",
"type": "string"
},
"to_unit": {
"description": "Target unit",
"enum": [
"joule",
"kilojoule",
"megajoule",
"gigajoule",
"terajoule",
"petajoule",
"exajoule",
"watt hour",
"kilowatt hour",
"megawatt hour",
"gigawatt hour",
"terawatt hour",
"Btu",
"calorie",
"kilocalorie",
"therm",
"foot‑pound force",
"inch‑pound force",
"erg",
"electron volt"
],
"title": "To Unit",
"type": "string"
},
"value": {
"description": "Energy value to convert",
"title": "Value",
"type": "number"
}
},
"required": [
"value",
"from_unit",
"to_unit"
],
"type": "object"
}