Get Upcoming Prayer and Countdown
get_next_prayerGet the next prayer's name, scheduled time, and remaining countdown in minutes for your location, with the calculation authority method disclosed.
Instructions
Returns the immediate next prayer name, scheduled time, authority calculation method, and remaining countdown in minutes. MANDATORY: The LLM must always explicitly disclose to the user which calculation authority method was used and why it was selected (see authorityNotice in response).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| madhab | No | Optional Asr shadow jurisprudence override (Shafi or Hanafi) | |
| userId | No | Unique user or device ID | |
| latitude | No | Optional explicit latitude override | |
| timezone | No | Optional IANA timezone override | |
| longitude | No | Optional explicit longitude override | |
| calculationMethod | No | Optional calculation authority override (auto-resolved from location by default) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| madhab | Yes | Active Asr jurisprudence | |
| timezone | Yes | Resolved IANA timezone | |
| nextPrayer | Yes | Name of the upcoming prayer | |
| locationSource | Yes | Source of location resolution | |
| authorityNotice | No | ||
| nextPrayerAtUtc | Yes | UTC timestamp of the upcoming prayer | |
| selectionReason | No | ||
| currentLocalDate | Yes | Current local date YYYY-MM-DD | |
| remainingMinutes | Yes | Minutes remaining until prayer start | |
| calculationMethod | Yes | Active calculation authority | |
| minuteAdjustments | No | ||
| nextPrayerLocalTime | Yes | Formatted local time HH:mm | |
| authorityDescription | No |