Current Weather
weather.weatherapi.currentGet current weather conditions for any location worldwide — temperature, wind, humidity, pressure, UV index, cloud cover, feels-like temp. Accepts city name, coordinates, zip code, or airport code. 100K+ stations globally (WeatherAPI.com)
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": {
"q": "<q>"
},
"name": "weather.weatherapi.current"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Location query — city name (e.g. "London"), coordinates ("48.8,2.35"), US zip ("10001"), UK postcode ("SW1"), IP address, or IATA airport code ("JFK") |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. | |
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. |