Find location
find_locationConvert an address or place name into latitude and longitude before using Snappfood or SnappMarket tools that require coordinates.
Instructions
Turn a place name or address into latitude/longitude.
Use first when the user gives an address instead of coordinates; every food_* and market_* tool needs lat/long. Results are biased toward near_lat/near_long (default Tehran), so pass a city center for other cities.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max places to return. | |
| query | Yes | Place, street, landmark or neighbourhood, Persian works best, e.g. 'میدان ونک'. | |
| near_lat | No | Bias results toward this latitude (e.g. a city center from list_cities). | |
| near_long | No | Bias results toward this longitude. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||