get_current_weather
Retrieve current weather conditions for any city, with support for metric, imperial, or standard units. Specify location as city name or city,country code to get real-time temperature and conditions.
Instructions
Get current weather conditions for a location.
Args: location: City name, optionally "City,CountryCode" e.g. "Lahore,PK" units: "metric" (Celsius), "imperial" (Fahrenheit), or "standard" (Kelvin)
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": {
"location": "<location>"
},
"name": "get_current_weather"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| units | No | metric | |
| location | Yes |