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.
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": {
"query": "<query>",
"sw_lat": "<sw_lat>",
"sw_lon": "<sw_lon>",
"ne_lat": "<ne_lat>",
"ne_lon": "<ne_lon>"
},
"name": "get_routes"
}
}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 |