convert_wind
Converts wind speed between kilometres per hour and miles per hour, returning the value in the other unit rounded to one decimal place.
Instructions
Convert a wind speed between kilometres per hour and miles per hour.
Give the value and its current unit: "km/h" or "mph". Returns the value converted to the other unit, rounded to 1 decimal place. Negative speeds and any other unit are rejected with an error.
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>"
},
"name": "convert_wind"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | ||
| from_unit | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |