get_next_prayer
Get the next upcoming prayer and how long until it begins, for a city or coordinates.
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": "get_next_prayer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asr | No | ||
| city | No | City name to resolve, e.g. "Dhaka" or "Madinah". Ignored when latitude and longitude are given. | |
| method | No | ||
| latitude | No | Latitude in degrees, north positive. | |
| timezone | No | IANA timezone, e.g. "Asia/Dhaka". Used with explicit latitude/longitude. If omitted, the zone is inferred from the nearest known city and reported in the answer. | |
| longitude | No | Longitude in degrees, east positive. | |
| offset_minutes | No | Optional per-prayer adjustment in whole minutes, matching the offset settings in the Wasilah app, e.g. {"maghrib": 3}. Applies to the five obligatory prayers only; Sunrise is never offset. These are the user's own adjustments, not a calculation method. |