alltrails_get_trail
Retrieve complete details for a specific AllTrails trail using its numeric ID. Returns name, location, length, elevation gain, difficulty, rating, and route type, with optional compact output and geometry at higher detail levels.
Instructions
Get details for a single AllTrails trail by its numeric trail id. Returns name, location, length, elevation gain, difficulty, rating, route type, and (at higher detail levels) route geometry. Set compact=true for a slim projection (name, overview, length in m+mi, elevation gain, difficulty, rating, route type, location) — recommended unless you need the full record or geometry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detail | No | Detail level. "medium" (default) is a good overview; "offline" includes full route geometry. | |
| compact | No | Return a slim projection instead of the full record (default false) | |
| trailId | Yes | Numeric AllTrails trail id (e.g. "10236086") |