Search nearby listings
search_nearbyUse this when the user asks what is available, sold or happening near a place or near them (e.g. 'מה מוכרים לידי', 'מה קורה לידי', 'איש מקצוע באזור'). If their location is unknown, ask for a city or area first instead of guessing. Finds active listings near a geographic point using PostGIS distance search. Latitude and longitude are separate decimal-degree values; radius_km is required and measured in kilometers. You may narrow by category. Distance ordering is the default. An empty results array means nothing active matched within the radius.
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": {
"latitude": "<latitude>",
"longitude": "<longitude>",
"radius_km": "<radius_km>"
},
"name": "search_nearby"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Result ordering; distance requires the supplied origin. | distance |
| category | No | Optional category slug. | |
| latitude | Yes | Search origin latitude in decimal degrees. | |
| longitude | Yes | Search origin longitude in decimal degrees. | |
| radius_km | Yes | Maximum distance from the origin, in kilometers. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| results | Yes |