explore-segments
Find popular running or cycling segments within a specified geographical area. Filter results by activity type and climb category to discover routes tailored to your fitness goals.
Instructions
Searches for popular segments within a given geographical area.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
activityType | No | Filter segments by activity type (optional: 'running' or 'riding'). | |
bounds | Yes | The geographical area to search, specified as a comma-separated string: south_west_lat,south_west_lng,north_east_lat,north_east_lng | |
maxCat | No | Filter by maximum climb category (optional, 0-5). Requires riding activityType. | |
minCat | No | Filter by minimum climb category (optional, 0-5). Requires riding activityType. |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"activityType": {
"description": "Filter segments by activity type (optional: 'running' or 'riding').",
"enum": [
"running",
"riding"
],
"type": "string"
},
"bounds": {
"description": "The geographical area to search, specified as a comma-separated string: south_west_lat,south_west_lng,north_east_lat,north_east_lng",
"pattern": "^-?\\d+(\\.\\d+)?,-?\\d+(\\.\\d+)?,-?\\d+(\\.\\d+)?,-?\\d+(\\.\\d+)?$",
"type": "string"
},
"maxCat": {
"description": "Filter by maximum climb category (optional, 0-5). Requires riding activityType.",
"maximum": 5,
"minimum": 0,
"type": "integer"
},
"minCat": {
"description": "Filter by minimum climb category (optional, 0-5). Requires riding activityType.",
"maximum": 5,
"minimum": 0,
"type": "integer"
}
},
"required": [
"bounds"
],
"type": "object"
}