Trails, parks, pistes and boundaries in a box
outdoor_layersFeatures of one map layer that meet a box of up to 16 square degrees (about 4 by 4 degrees), from OpenStreetMap: name, kind, a few key tags (ref, network, operator, osmc:symbol, distance, piste:difficulty, protect_class, admin_level, website, wikidata) and each feature's bounding box; no full geometry here. Layers and their kinds: route = marked routes, kinds hiking, bicycle, mtb, foot, running; protected_area = kinds protected_area, national_park, nature_reserve; piste = ski pistes, kinds downhill, nordic, skitour, sled, hike and other piste:type values; aerialway = lifts, kinds cable_car, gondola, chair_lift, drag_lift, t-bar, platter, rope_tow, magic_carpet and other aerialway values; boundary = administrative boundaries, kinds are admin levels such as 2 (countries), 4 (regions or states), 6 (counties or districts), 8 (municipalities), larger units first. At most limit features come back; when there were more, truncated is true and the rest are left out in no particular order, so narrow the box or pass kinds. For anything else on the map (shops, peaks, springs, huts, a tag combination) use overpass_query. Counts as one request.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"layer": "<layer>",
"bbox": "<bbox>"
},
"name": "outdoor_layers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bbox | Yes | [west, south, east, north] in degrees | |
| kinds | No | Only these kinds of the layer, e.g. ["hiking"] for route, ["gondola", "cable_car"] for aerialway, ["2", "4"] for boundary; all kinds by default | |
| layer | Yes | route, protected_area, piste, aerialway or boundary | |
| limit | No | Most features to return, 1 to 500 |