Delagged
v1.0.0Jet lag plans for any flight: when to sleep, seek light and eat.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
plan_trip Build a jet lag plan
Builds a day-by-day jet lag plan for a trip: when to sleep, when to seek and avoid bright light, caffeine cutoffs, meal timing, melatonin where the traveler uses it, from the days before departure through the week after landing. Give the flights with local times at each airport; connections are separate flights. Returns an honest expectation (direction, shift, how many days the plan targets, what unaided adjustment typically takes) and the plan. Use whenever someone asks how to handle jet lag for a specific flight or trip, what to do on the plane, or when to sleep after landing.
| Parameter | Type | Description |
|---|---|---|
flights * | array | The flights in order. Connections are separate entries. |
traveler | object |
compare_flights Compare flights for jet lag
Compares two to four candidate itineraries for the same trip by running the Delagged plan engine on each: how many days after landing each plan needs, and what the arrival puts the traveler in front of (morning light, an evening, a night). Use before booking, when someone is choosing between flight times or routings and asks which is better for jet lag. Flight time is a tiebreaker after price and connections; the scores are model outputs from light-timing principles, not measured outcomes.
| Parameter | Type | Description |
|---|---|---|
options * | array | |
traveler | object |
explain_jet_lag Explain the jet lag for a route
Explains the jet lag for a route without flight times: direction (eastward or westward), size of the shift, roughly how long unaided adjustment takes, and why one direction is harder, with links to Delagged's guides. Use for general questions ('how bad is jet lag from London to Tokyo?'). For an actual itinerary use plan_trip.
| Parameter | Type | Description |
|---|---|---|
from * | string | Origin airport or city |
to * | string | Destination airport or city |