Get current weather
get-current-weatherRetrieve current weather conditions for a chosen city, with temperature in Celsius or Fahrenheit, to check present weather.
Instructions
get the current weather of selected city
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": {
"city": "<city>"
},
"name": "get-current-weather"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | Yes | the name of the city you want to get the weather details | |
| unit | No | Temperature unit (default: celsius) |