Detailed weather forecast up to 16 days
hava_detayReturns detailed hourly and daily weather: feels-like temperature, dew point, rain/showers/snow, sea-level and surface pressure, visibility, wind speed and gusts, plus elevation of the grid point. Use hava for a quick current + 7-day summary. Location (give one): il province name, slug or plate code (e.g. 'istanbul', 'izmir', 34), optionally with ilce district name; or konum district slug (e.g. 'duzce-akcakoca'); or enlem + boylam for the nearest district. Turkish characters optional ('Düzce' = 'duzce').
Endpoint: GET /v1/hava/detay. Requires a paid plan (free plan returns 403). Costs 2 request units per call. Read-only; JSON in Turkish with source and guncelleme (updated at) fields.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "hava_detay"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| il | No | Province: name, slug or plate code, e.g. 'ankara', 'Düzce', 81. | |
| gun | No | Days of daily forecast (1–16, default 7). | |
| ilce | No | District name within `il`, e.g. 'Kadıköy'. Omit for the province centre. | |
| saat | No | Hours of hourly forecast (0–384, default 48). | |
| enlem | No | Latitude (WGS84); used with `boylam` to pick the nearest district. | |
| konum | No | District slug from konumlar_bul / konumlar_iller_il_ilceler, e.g. 'duzce-akcakoca'. | |
| boylam | No | Longitude (WGS84); used with `enlem`. |