get_routes
Search for hiking routes on Wikiloc by location and keywords. Specify a bounding box and query to get trail details like distance, slope, author, and location.
Instructions
Search for routes on Wikiloc based on geographical area.
Args:
query: Search query (e.g. "Vall de Núria - Ribes de Freser").
sw_lat: Latitude of the southwest corner of the bounding box.
sw_lon: Longitude of the southwest corner of the bounding box.
ne_lat: Latitude of the northeast corner of the bounding box.
ne_lon: Longitude of the northeast corner of the bounding box.
page: The page of results to fetch.
max_results: The maximum number of results to return.
Output:
"title": Name of the trail,
"url": Url,
"distance_km": Distance in KM,
"slope": Slope of the trail in meters,
"author": Author of the trail,
"location": Location of the trail,
"trailrank": Punctuation of the trail.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| query | Yes | ||
| ne_lat | Yes | ||
| ne_lon | Yes | ||
| sw_lat | Yes | ||
| sw_lon | Yes | ||
| max_results | No |