Ads near a point
dv_nearbyLocate classified ads on a map around a GPS point, with nearest-first results, coordinates, distance, price chips, and thumbnails for local area browsing.
Instructions
Ads on the map around a GPS point, nearest first, with coordinates, distance, price chips and a thumbnail.
total_in_area is the true count (up to 200 available). Prices are the site's rounded map chips; sale homes add
price_per_m2. Next: dv_post.
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>",
"category": "<category>"
},
"name": "dv_nearby"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | Latitude, e.g. 35.7 (from dv_place_search or dv_districts). | |
| lon | Yes | Longitude, e.g. 51.4. | |
| limit | No | ||
| query | No | ||
| filters | No | ||
| category | Yes | Required (the map is empty without one); as in dv_search, e.g. 'apartment-sell'. | |
| radius_m | No | Metres. | |
| max_price | No | Toman; monthly rent in rent categories. | |
| min_price | No | Toman; monthly rent in rent categories. | |
| brand_model | No | ||
| max_deposit | No | Rent deposit (ودیعه), Toman. | |
| min_deposit | No | Rent deposit (ودیعه), Toman. |