Skip to main content
Server path: /bart | Type: Application | PCID required: Yes

Tools

ToolDescription
bart_get_fareGet fare between two BART stations
bart_get_realtime_departuresGet real-time estimated departures for a station
bart_get_route_infoGet detailed information for a route
bart_get_service_advisoriesGet current BART service advisories
bart_get_station_infoGet detailed information for a station
bart_list_routesList all BART routes
bart_list_stationsList all BART stations
bart_plan_tripPlan a trip between two BART stations

bart_get_fare

Get fare between two BART stations Parameters:
ParameterTypeRequiredDefaultDescription
origstringYesOrigin station abbreviation code (e.g. EMBR). Use list_stations to get valid codes.
deststringYesDestination station abbreviation code (e.g. DALY). Use list_stations to get valid codes.

bart_get_realtime_departures

Get real-time estimated departures for a station Parameters:
ParameterTypeRequiredDefaultDescription
origstringYesStation abbreviation code (e.g. EMBR for Embarcadero, MONT for Montgomery, 12TH for 12th St Oakland). Use list_stations to get valid abbreviation codes.
dirstringNoFilter by direction: n (northbound) or s (southbound)
platintegerNoFilter by platform number (1-4)

bart_get_route_info

Get detailed information for a route Parameters:
ParameterTypeRequiredDefaultDescription
routeintegerYesRoute number (e.g. 1, 2, 3). Use list_routes to get valid route numbers.

bart_get_service_advisories

Get current BART service advisories

bart_get_station_info

Get detailed information for a station Parameters:
ParameterTypeRequiredDefaultDescription
origstringYesStation abbreviation code (e.g. EMBR for Embarcadero). Use list_stations to get valid abbreviation codes.

bart_list_routes

List all BART routes

bart_list_stations

List all BART stations

bart_plan_trip

Plan a trip between two BART stations Parameters:
ParameterTypeRequiredDefaultDescription
cmdstringYesCommand type: “depart” to find next departing trains, “arrive” to find trains arriving by a specific time
origstringYesOrigin station abbreviation code (e.g. EMBR). Use list_stations to get valid codes.
deststringYesDestination station abbreviation code (e.g. DALY). Use list_stations to get valid codes.
datestringNoDate for the trip (MM/DD/YYYY format, or “now” for today). Defaults to today.
timestringNoTime for the trip (h:mm+am/pm format, e.g. “5:30pm”, or “now” for current time). Defaults to current time.