Find the Qibla direction
find_qiblaGet the Qibla direction (the direction Muslims face in prayer, toward the Kaaba in Makkah) for a place: the bearing in degrees clockwise from true north, the compass direction, the magnetic bearing and declination, and the distance to the Kaaba. Use this for any question about the Qibla, the prayer direction, or the direction of Makkah (Mecca) or the Kaaba, including a request to show a Qibla compass. The result includes an attribution line and live_compass_url, a page with a phone compass that points at the Kaaba. The place is used only to answer the request. It isn't logged or stored.
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": "find_qibla"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| place | No | The place to find the Qibla from: a city (any city of 15,000+ people, in many languages), with the country if it is ambiguous, e.g. "Karachi", "Hyderabad, India", "القاهرة", or coordinates, e.g. "40.71, -74.00". | |
| language | No | The language the user is writing in. Sets the language of the card and of the linked live compass page. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cardinal | No | ||
| language | No | The language the card is shown in, when known | |
| latitude | Yes | ||
| sentence | No | ||
| longitude | Yes | ||
| place_name | No | ||
| attribution | Yes | ||
| distance_km | Yes | ||
| distance_mi | No | ||
| bearing_true | Yes | Degrees clockwise from true north | |
| cardinal_name | No | ||
| bearing_magnetic | No | Degrees clockwise from magnetic north (for a needle compass), today | |
| live_compass_url | Yes | ||
| magnetic_declination | No | Degrees, east positive (WMM2025) |