Prayer Times for Turkish Cities
get_prayer_timesGet Islamic prayer times for Turkish cities using the official Diyanet calculation method. Returns fajr, sunrise, dhuhr, asr, maghrib, isha in 24-hour Istanbul time and the Hijri date.
Instructions
Get Islamic prayer times (namaz vakitleri) for a Turkish city using the official Diyanet İşleri calculation method. Returns fajr, sunrise, dhuhr, asr, maghrib and isha in 24-hour local Istanbul time, plus the Hijri date. The 'city' parameter is REQUIRED — call list_prayer_cities first if unsure which cities are available (20 major Turkish cities, lowercase ASCII slugs like 'istanbul', 'ankara', 'sanliurfa'). Optional 'date' (YYYY-MM-DD) defaults to today; only a few days around today are cached — far-future or past dates return an error. Use this for 'iftar time in Istanbul', 'when is maghrib in Ankara', 'namaz vakitleri'.
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_prayer_times"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | Yes | City slug, lowercase ASCII, e.g. 'istanbul', 'izmir', 'diyarbakir', 'sanliurfa'. Turkish characters are transliterated (ş→s, ı→i, ü→u...). Call list_prayer_cities for the full list of 20 supported cities. | |
| date | No | Optional date in YYYY-MM-DD format. Defaults to today (Europe/Istanbul). Only dates near today are available. |