convert_temperature
Convert temperature values between Celsius and Fahrenheit from direct input or file content. Specify from/to units for conversion.
Instructions
Convert temperature units based on file content or direct input. Supports Celsius (C) and Fahrenheit (F).
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": {
"file_name": "<file_name>",
"file_type": "<file_type>",
"file_content": "<file_content>"
},
"name": "convert_temperature"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | No | Temperature value to convert | |
| to_unit | No | Unit to convert to (C or F) | |
| file_name | Yes | Name of the uploaded file | |
| file_type | Yes | MIME type of the uploaded file | |
| from_unit | No | Unit to convert from (C or F) | |
| file_content | Yes | Base64 encoded file content. Will be injected by system. |