generate_route
Generate an MTB or road cycling route on real trails/roads from a start point and distance, save it as GPX, and return summary and warnings.
Instructions
Generate an MTB or road cycling route on real trails/roads, save it as GPX and return the summary and warnings.
Takes 10 to 60 seconds (it evaluates several candidates and picks the best one).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | End point if the route is not a loop | |
| via | No | Places the route must pass through, in order (names or 'lat,lon') | |
| loop | No | Return to the start point | |
| name | No | Route name (optional) | |
| seed | No | Seed to repeat the same route; change it for an alternative | |
| start | Yes | Start location: place name ('El Papiol, Barcelona') or 'lat,lon' | |
| trail_type | No | tracks = wide, non-technical dirt tracks; mixed = general MTB; singletrack = more singletrack; road = road bike, paved roads with little traffic | mixed |
| distance_km | Yes | Approximate distance in km | |
| max_climb_m | No | Maximum desired climbing in metres |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||