convert_temperature
Convert temperature values between Celsius, Fahrenheit, and Kelvin using precise calculations for accurate unit transformations.
Instructions
Convert temperature between units.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
from_unit | Yes | Source unit | |
to_unit | Yes | Target unit | |
value | Yes | Temperature value to convert |
Input Schema (JSON Schema)
{
"properties": {
"from_unit": {
"description": "Source unit",
"enum": [
"celsius",
"fahrenheit",
"kelvin"
],
"title": "From Unit",
"type": "string"
},
"to_unit": {
"description": "Target unit",
"enum": [
"celsius",
"fahrenheit",
"kelvin"
],
"title": "To Unit",
"type": "string"
},
"value": {
"description": "Temperature value to convert",
"title": "Value",
"type": "number"
}
},
"required": [
"value",
"from_unit",
"to_unit"
],
"type": "object"
}