Nöbetçi Eczane: Find nearby pharmacies
pharmacy_findNearbyPharmaciesFind nearby pharmacies
Pharmacies within a radius of a coordinate, nearest first and annotated with distanceKm. Pages through at most the 500 nearest: at 500 next_cursor is null.
GET /v1/pharmacy/pharmacies/nearby on Nöbetçi Eczane (SBX-ECZ). Costs 2 credits per call.
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>",
"lon": "<lon>"
},
"name": "pharmacy_findNearbyPharmacies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Alias for `name`. | |
| lat | Yes | Latitude of the search center (WGS84). | |
| lon | Yes | Longitude of the search center (WGS84). | |
| city | No | Filter by city name (case- and accent-insensitive). Up to 120 characters. | |
| duty | No | Filter to on-duty (`true`) or off-duty (`false`) pharmacies. Omit to return both. | |
| name | No | Turkish-aware substring match on pharmacy name. Up to 120 characters. `q` is an alias for this parameter. | |
| limit | No | Maximum number of items on this page. | |
| cursor | No | Opaque; the `next_cursor` of the previous page. Keep every other parameter unchanged, or the call is a 400. | |
| district | No | Filter by district name (case- and accent-insensitive). Up to 120 characters. | |
| radiusKm | No | Search radius in kilometers. | |
| activelyOnDuty | No | `true` = duty shift active now (Europe/Istanbul, start inclusive, end exclusive); `false` = not active now. Such answers carry `Cache-Control: no-store`, no `ETag`, and are never answered `304`. `false` does not mean closed. |