Search routes
search_routesSearch Skamper's curated UK running-route database when the user gives concrete filters — name, location (lat/lng), distance range, max ascent, paved surface %, course shape, or national park. Returns up to 20 compact route summaries with canonical URLs. If the user instead describes who they are or what they want ('I'm a trail runner who hates roads'), prefer recommend_route. For parkrun-distance asks, prefer find_5k.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | No | Free text — searches route titles and slugs. Optional. | |
| near_lat | No | Latitude to search near. Pair with near_lng. | |
| near_lng | No | Longitude to search near. Pair with near_lat. | |
| course_shape | No | ||
| max_ascent_m | No | Maximum total ascent in metres (flatter routes). | |
| max_paved_pct | No | Maximum paved surface % (trail runners). | |
| min_paved_pct | No | Minimum paved surface % (road runners). | |
| national_park | No | Filter to routes in this national park (name or slug). | |
| max_distance_km | No | ||
| min_distance_km | No |