Prayer Times
prayer_timesIslamic prayer times (salah times: Fajr, Sunrise, Dhuhr, Asr, Maghrib, Isha, plus Imsak and Midnight) for a location today. Provide either city+country or latitude+longitude. Returns timings, Gregorian and Hijri (Islamic calendar) dates, timezone, and the calculation method used.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"city": "London",
"country": "UK"
},
"name": "prayer_times"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | City name, e.g. "London". Requires country. | |
| method | No | Prayer-time calculation method. Default 2 = ISNA (Islamic Society of North America); 3 = MWL (Muslim World League); 4 = Umm al-Qura (Makkah); and others. | |
| country | No | Country name or code, e.g. "UK". Requires city. | |
| latitude | No | Latitude in decimal degrees. Use with longitude as an alternative to city+country. | |
| longitude | No | Longitude in decimal degrees. Use with latitude. |