{"openapi":"3.1.0","info":{"title":"Trailhead API","version":"0.1.0","description":"A fully local hiking and backpacking reference toolkit: the Ten Essentials, the three-layer clothing system, water treatment methods, trail difficulty rating systems, altitude sickness basics, pack-weight guidance, map-and-compass fundamentals, wildlife safety, and a trail glossary.\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://trailhead.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"hr@unifydynamics.com","url":"https://connectorbay.com/trailhead/docs"},"termsOfService":"https://connectorbay.com/trailhead/terms"},"servers":[{"url":"https://trailhead.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/trailhead/docs"},"security":[{},{"bearer":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"Optional. A Pro API key raises rate limits; no credentials are required."}},"schemas":{"Error":{"type":"object","properties":{"ok":{"const":false},"error":{"type":"object"}}}}},"paths":{"/v1/tools/ten_essentials_checklist":{"post":{"operationId":"ten_essentials_checklist","summary":"The well-known \"Ten Essentials\" hiking safety list (navigation, headlamp, sun protection, first aid, knife,","description":"The well-known \"Ten Essentials\" hiking safety list (navigation, headlamp, sun protection, first aid, knife,\n    fire, shelter, extra food, extra water, extra clothes), with a brief note on each. Use for \"what are the Ten\n    Essentials\", \"what should I always pack hiking\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"ten_essentials_checklistArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/layering_system_guide":{"post":{"operationId":"layering_system_guide","summary":"The standard three-layer clothing system for hiking — a moisture-wicking base layer, an insulating mid","description":"The standard three-layer clothing system for hiking — a moisture-wicking base layer, an insulating mid\n    layer, and a waterproof/windproof outer shell — with general guidance on using it. Use for \"how does the\n    layering system work\", \"what should I wear hiking in the cold\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"layering_system_guideArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/water_treatment_guide":{"post":{"operationId":"water_treatment_guide","summary":"How-to, relative effectiveness, and tradeoffs for one backcountry water-treatment method (boiling; filtering","description":"How-to, relative effectiveness, and tradeoffs for one backcountry water-treatment method (boiling; filtering\n    via pump/gravity/squeeze; chemical treatment via iodine/chlorine dioxide; or UV), or all four if no method is\n    given — including the boiling-time guidance for elevations above and below about 6,500 ft. Use for \"how long do\n    I need to boil water\", \"what's the difference between a water filter and iodine tablets\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"method":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"boiling | filtering | chemical | uv; omit to list all four.","title":"Method"}},"title":"water_treatment_guideArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/trail_difficulty_guide":{"post":{"operationId":"trail_difficulty_guide","summary":"General criteria behind easy/moderate/strenuous trail ratings (distance, elevation gain, terrain), the","description":"General criteria behind easy/moderate/strenuous trail ratings (distance, elevation gain, terrain), the\n    NPS/Shenandoah-style distance-and-elevation formula, and a clarification that the Yosemite Decimal System (YDS)\n    actually rates climbing/scrambling terrain technicality, not overall hiking effort — a common point of\n    confusion. Use for \"what does a moderate trail rating mean\", \"is a Class 3 trail the same as a strenuous hike\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"rating_system":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"nps (the Shenandoah/NPS-style distance-and-elevation formula) | yds (Yosemite Decimal System); omit for the general overview of both.","title":"Rating System"}},"title":"trail_difficulty_guideArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/altitude_sickness_guide":{"post":{"operationId":"altitude_sickness_guide","summary":"General, well-known altitude sickness symptoms (headache, nausea, dizziness, fatigue) and prevention","description":"General, well-known altitude sickness symptoms (headache, nausea, dizziness, fatigue) and prevention\n    (gradual acclimatization, hydration, avoiding rapid ascent) — not diagnostic, and it explicitly recommends\n    descending and/or seeking medical care for worsening symptoms. Use for \"what are the symptoms of altitude\n    sickness\", \"how do I prevent altitude sickness\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"altitude_sickness_guideArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/pack_weight_guide":{"post":{"operationId":"pack_weight_guide","summary":"General base-weight guidance (traditional vs. ultralight approaches) plus a computed food-weight estimate","description":"General base-weight guidance (traditional vs. ultralight approaches) plus a computed food-weight estimate\n    that scales with trip length — food is the main added consumable weight on longer trips. Use for \"how much\n    should my pack weigh for a 5-day trip\", \"what's the difference between lightweight and ultralight backpacking\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"trip_length_days":{"description":"Trip length in days.","maximum":180,"minimum":1,"title":"Trip Length Days","type":"integer"}},"required":["trip_length_days"],"title":"pack_weight_guideArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/navigation_basics_guide":{"post":{"operationId":"navigation_basics_guide","summary":"A map-and-compass fundamentals overview (reading contour lines, orienting a map, taking a bearing, magnetic","description":"A map-and-compass fundamentals overview (reading contour lines, orienting a map, taking a bearing, magnetic\n    declination, triangulation, dead reckoning). Points to the sibling Bearing connector for computed bearings and\n    coordinate conversions. Use for \"how do I read a topo map\", \"how does a compass bearing work\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"navigation_basics_guideArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/wildlife_safety_guide":{"post":{"operationId":"wildlife_safety_guide","summary":"General wildlife safety guidance: food storage in bear country (bear canister or bear hang), and snake and","description":"General wildlife safety guidance: food storage in bear country (bear canister or bear hang), and snake and\n    tick awareness — factual safety practice, not a specific region's legal requirements. Use for \"how do I store\n    food in bear country\", \"how do I avoid ticks while hiking\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"region_type":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"bear | snake | tick; omit for general guidance covering all of them.","title":"Region Type"}},"title":"wildlife_safety_guideArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/trail_glossary":{"post":{"operationId":"trail_glossary","summary":"Definitions of common trail terms (switchback, blaze, saddle, scree, treeline, cairn, talus, bushwhack, and","description":"Definitions of common trail terms (switchback, blaze, saddle, scree, treeline, cairn, talus, bushwhack, and\n    more). Use for \"what's a switchback\", \"what does treeline mean\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"term":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"A specific term to look up; omit to list all.","title":"Term"}},"title":"trail_glossaryArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}}}}