prayer_times
[$0.002 USDC per call via x402] Islamic prayer times (Fajr, Sunrise, Dhuhr, Asr, Maghrib, Isha) for any lat/lng and date, 17 calculation methods, Hanafi/Standard Asr, Hijri date, up to 7 days.
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": {
"lat": "<lat>",
"lng": "<lng>"
},
"name": "prayer_times"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tz | No | IANA timezone for local times, e.g. America/New_York (otherwise estimated from longitude) | |
| asr | No | Standard (default) or Hanafi | |
| lat | Yes | Latitude | |
| lng | Yes | Longitude | |
| date | No | YYYY-MM-DD (default today, UTC) | |
| days | No | 1-7 days of times (default 1) | |
| method | No | MWL (default), ISNA, Egypt, Makkah, Karachi, Tehran, Jafari, Turkey, Singapore, France, Russia, Dubai, Kuwait, Qatar, Kemenag, JAKIM, Moonsighting |