Bart Trip Planner
bart_trip_plannerPlan a BART trip between two Bay Area stations — the next trains from origin to destination with departure and arrival times, trip duration, legs (line, transfer stations, bikes), and the fare (Clipper and discount prices). Covers trips like SF to Oakland, Embarcadero to SFO airport, Berkeley to Millbrae. Stations accept 4-letter codes or names. Example: bart_trip_planner({ from: "Embarcadero", to: "SFIA" })
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Destination station — code or name, e.g. "SFIA" or "SFO airport" | |
| from | Yes | Origin station — code or name, e.g. "EMBR" or "Embarcadero" | |
| trips | No | How many upcoming trips to return, 1-4 (default 4) | |
| _apiKey | No | Optional: your own BART API key (defaults to the BART public key) |