Islamic prayer times
prayer_timesPrayer times (imsak, fajr, sunrise, dhuhr, asr, maghrib, isha, midnight) for a town, city or coordinates, in local time, for one day or a timetable of up to 31 days. Covers 34,000 towns worldwide (names in English or Arabic). Calculation method defaults to the usual one for the country (Umm al-Qura in Saudi Arabia, Egyptian in Egypt, Karachi in Pakistan, ISNA in North America, MWL elsewhere) and is always stated; asr standard or hanafi.
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": "prayer_times"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asr | No | Asr juristic method; default standard (hanafi in PK, IN, BD, AF). | |
| date | No | YYYY-MM-DD; default today in the place's timezone. | |
| days | No | Number of days from date (timetable). Default 1. | |
| place | No | Town or city name, optionally with country: "Riyadh", "Birmingham, UK", "القاهرة". Or use latitude/longitude. | |
| method | No | Calculation method; default by country. | |
| country | No | Optional ISO 3166-1 alpha-2 code or country name to pick among same-named towns. | |
| latitude | No | ||
| timezone | No | IANA timezone for coordinates, e.g. "Europe/London". Default: from the nearest town. | |
| longitude | No |