alltrails_list_trails_by_country
List hiking trails in a country by providing its numeric AllTrails country ID. Choose compact mode for a summary of trail details like length, difficulty, and rating.
Instructions
List trails within a country by its numeric AllTrails country id (e.g. 313 = United States). Paginated. Set compact=true to get a slimmed summary per trail (id, name, length, difficulty, rating, …).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (default 1) | |
| compact | No | Return a slim summary per trail instead of the full records (default false) | |
| perPage | No | Results per page (default 25, max ~100) | |
| countryId | Yes | Numeric AllTrails country id (e.g. "313" for the US) |