Skip to content

prayer_times

Get Islamic prayer times for a city.

Use This When

  • The user asks for daily prayer times in a specific location.
  • The user asks to compute times with a specific method (for example ISNA or MWL).

Widget Preview

prayer_times widget preview in light modeprayer_times widget preview in dark mode

Input

  • city (string, required): City name for geocoding and prayer calculation.
  • country (string, optional): Country name to disambiguate cities with the same name.
  • method (enum, optional, default ISNA): Prayer time calculation method (MWL, ISNA, Egypt, Makkah, Karachi, Tehran, Jafari, Qatar, Kuwait, moonsighting, Dubai, Singapore, JAKIM, Turkey, Russia).

Example User Prompts

  • "Get prayer times for Mecca."
  • "Prayer times for London, United Kingdom using MWL method."
  • "What are today's prayer times in Cairo?"

Example Request

json
{
  "jsonrpc": "2.0",
  "id": 9,
  "method": "tools/call",
  "params": {
    "name": "prayer_times",
    "arguments": {
      "city": "San Francisco",
      "country": "United States",
      "method": "ISNA"
    }
  }
}

Powered by