{"openapi":"3.1.0","info":{"title":"Transitland (BYOK) API","version":"0.1.0","description":"Transitland (BYOK) lets an AI assistant read your own Transitland data through the Transitland API with a key you supply (Transitland API key). Read-only: 10 tools (search_operators, get_operator, search_agencies, search_routes, search_stops, get_stop_departures, get_route_trips, search_feeds, get_feed, search_feed_versions). The BYOK key travels with each request, is used for that one call only...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-transitland.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-transitland/docs"},"termsOfService":"https://connectorbay.com/byok-transitland/terms"},"servers":[{"url":"https://byok-transitland.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-transitland/docs"},"security":[{"upstreamKey":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"Optional. A Pro API key raises rate limits; no credentials are required."},"upstreamKey":{"type":"apiKey","in":"header","name":"X-Upstream-Key","description":"Your own key for the service this connector wraps (bring your own key). Used for that one call only; never stored, logged or cached."}},"schemas":{"Error":{"type":"object","properties":{"ok":{"const":false},"error":{"type":"object"}}}}},"paths":{"/v1/tools/search_operators":{"post":{"operationId":"search_operators","summary":"Search transit operators (public transport companies) by name, place or location, with their website and the feeds that ","description":"Search transit operators (public transport companies) by name, place or location, with their website and the feeds that describe them. Use for \"Which transit operators serve the San Francisco Bay Area\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"search":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Free-text search.","title":"Search"},"onestop_id":{"anyOf":[{"maxLength":120,"type":"string"},{"type":"null"}],"default":null,"description":"Exact Onestop ID, for example 'o-9q9-bart' (operator), 'r-...' (route), 's-...' (stop) or 'f-...' (feed).","title":"Onestop Id"},"adm0_iso":{"anyOf":[{"maxLength":2,"type":"string"},{"type":"null"}],"default":null,"description":"Two-letter country code (ISO 3166-1), for example US.","title":"Adm0 Iso"},"adm1_iso":{"anyOf":[{"maxLength":8,"type":"string"},{"type":"null"}],"default":null,"description":"State or province code (ISO 3166-2), for example US-CA.","title":"Adm1 Iso"},"city_name":{"anyOf":[{"maxLength":80,"type":"string"},{"type":"null"}],"default":null,"description":"City name.","title":"City Name"},"lat":{"anyOf":[{"maximum":90,"minimum":-90,"type":"number"},{"type":"null"}],"default":null,"description":"Latitude of the search centre; use together with `lon` and `radius`.","title":"Lat"},"lon":{"anyOf":[{"maximum":180,"minimum":-180,"type":"number"},{"type":"null"}],"default":null,"description":"Longitude of the search centre; use together with `lat` and `radius`.","title":"Lon"},"radius":{"anyOf":[{"maximum":100000,"minimum":0,"type":"number"},{"type":"null"}],"default":null,"description":"Search radius in metres around lat/lon.","title":"Radius"},"bbox":{"anyOf":[{"maxLength":80,"type":"string"},{"type":"null"}],"default":null,"description":"Bounding box as min_lon,min_lat,max_lon,max_lat.","title":"Bbox"},"feed_onestop_id":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Only records from this feed (Onestop ID such as f-9q9-bart).","title":"Feed Onestop Id"},"include_alerts":{"anyOf":[{"enum":["true","false"],"type":"string"},{"type":"null"}],"default":null,"description":"true to include current GTFS Realtime service alerts.","title":"Include Alerts"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"How many records to return (1 to 100).","title":"Limit"},"after":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"Paging cursor: the `meta.after` value of the previous answer (treat it as opaque).","title":"After"}},"title":"search_operatorsArguments","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/get_operator":{"post":{"operationId":"get_operator","summary":"Get one transit operator by Onestop ID or numeric ID with its website, agencies and feeds. Use for \"Show the operator o-","description":"Get one transit operator by Onestop ID or numeric ID with its website, agencies and feeds. Use for \"Show the operator o-9q9-bart\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"operator_key":{"description":"Operator Onestop ID such as 'o-9q9-bart', or its internal numeric ID.","maxLength":200,"title":"Operator Key","type":"string"}},"required":["operator_key"],"title":"get_operatorArguments","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/search_agencies":{"post":{"operationId":"search_agencies","summary":"Search transit agencies (as published in GTFS feeds) by name, place or location, with contact URL, timezone and route ty","description":"Search transit agencies (as published in GTFS feeds) by name, place or location, with contact URL, timezone and route types. Use for \"Find transit agencies near latitude 37.77 longitude -122.42\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"search":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Free-text search.","title":"Search"},"agency_name":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Agency name as published in the feed.","title":"Agency Name"},"agency_id":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"GTFS agency_id value.","title":"Agency Id"},"onestop_id":{"anyOf":[{"maxLength":120,"type":"string"},{"type":"null"}],"default":null,"description":"Exact Onestop ID, for example 'o-9q9-bart' (operator), 'r-...' (route), 's-...' (stop) or 'f-...' (feed).","title":"Onestop Id"},"adm0_iso":{"anyOf":[{"maxLength":2,"type":"string"},{"type":"null"}],"default":null,"description":"Two-letter country code (ISO 3166-1), for example US.","title":"Adm0 Iso"},"adm1_iso":{"anyOf":[{"maxLength":8,"type":"string"},{"type":"null"}],"default":null,"description":"State or province code (ISO 3166-2), for example US-CA.","title":"Adm1 Iso"},"city_name":{"anyOf":[{"maxLength":80,"type":"string"},{"type":"null"}],"default":null,"description":"City name.","title":"City Name"},"lat":{"anyOf":[{"maximum":90,"minimum":-90,"type":"number"},{"type":"null"}],"default":null,"description":"Latitude of the search centre; use together with `lon` and `radius`.","title":"Lat"},"lon":{"anyOf":[{"maximum":180,"minimum":-180,"type":"number"},{"type":"null"}],"default":null,"description":"Longitude of the search centre; use together with `lat` and `radius`.","title":"Lon"},"radius":{"anyOf":[{"maximum":100000,"minimum":0,"type":"number"},{"type":"null"}],"default":null,"description":"Search radius in metres around lat/lon.","title":"Radius"},"bbox":{"anyOf":[{"maxLength":80,"type":"string"},{"type":"null"}],"default":null,"description":"Bounding box as min_lon,min_lat,max_lon,max_lat.","title":"Bbox"},"feed_onestop_id":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Only records from this feed (Onestop ID such as f-9q9-bart).","title":"Feed Onestop Id"},"include_alerts":{"anyOf":[{"enum":["true","false"],"type":"string"},{"type":"null"}],"default":null,"description":"true to include current GTFS Realtime service alerts.","title":"Include Alerts"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"How many records to return (1 to 100).","title":"Limit"},"after":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"Paging cursor: the `meta.after` value of the previous answer (treat it as opaque).","title":"After"}},"title":"search_agenciesArguments","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/search_routes":{"post":{"operationId":"search_routes","summary":"Search transit routes by name, vehicle type, operator, served stop or location. Returns route names, type, colour and ag","description":"Search transit routes by name, vehicle type, operator, served stop or location. Returns route names, type, colour and agency. Use for \"What bus routes run near latitude 51.5 longitude -0.12\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"search":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Free-text search.","title":"Search"},"onestop_id":{"anyOf":[{"maxLength":120,"type":"string"},{"type":"null"}],"default":null,"description":"Exact Onestop ID, for example 'o-9q9-bart' (operator), 'r-...' (route), 's-...' (stop) or 'f-...' (feed).","title":"Onestop Id"},"route_type":{"anyOf":[{"maximum":1702,"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"GTFS vehicle type code: 0 tram, 1 subway, 2 rail, 3 bus, 4 ferry, 5 cable tram, 6 gondola, 7 funicular, 11 trolleybus, 12 monorail.","title":"Route Type"},"route_id":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"GTFS route_id value.","title":"Route Id"},"operator_onestop_id":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Only routes of this operator (Onestop ID).","title":"Operator Onestop Id"},"serves_stop_onestop_id":{"anyOf":[{"maxLength":120,"type":"string"},{"type":"null"}],"default":null,"description":"Only routes serving this stop (Onestop ID).","title":"Serves Stop Onestop Id"},"lat":{"anyOf":[{"maximum":90,"minimum":-90,"type":"number"},{"type":"null"}],"default":null,"description":"Latitude of the search centre; use together with `lon` and `radius`.","title":"Lat"},"lon":{"anyOf":[{"maximum":180,"minimum":-180,"type":"number"},{"type":"null"}],"default":null,"description":"Longitude of the search centre; use together with `lat` and `radius`.","title":"Lon"},"radius":{"anyOf":[{"maximum":100000,"minimum":0,"type":"number"},{"type":"null"}],"default":null,"description":"Search radius in metres around lat/lon.","title":"Radius"},"bbox":{"anyOf":[{"maxLength":80,"type":"string"},{"type":"null"}],"default":null,"description":"Bounding box as min_lon,min_lat,max_lon,max_lat.","title":"Bbox"},"feed_onestop_id":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Only records from this feed (Onestop ID such as f-9q9-bart).","title":"Feed Onestop Id"},"include_alerts":{"anyOf":[{"enum":["true","false"],"type":"string"},{"type":"null"}],"default":null,"description":"true to include current GTFS Realtime service alerts.","title":"Include Alerts"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"How many records to return (1 to 100).","title":"Limit"},"after":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"Paging cursor: the `meta.after` value of the previous answer (treat it as opaque).","title":"After"}},"title":"search_routesArguments","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/search_stops":{"post":{"operationId":"search_stops","summary":"Search transit stops and stations by name, location, serving route type or feed. Returns stop IDs, names, codes and coor","description":"Search transit stops and stations by name, location, serving route type or feed. Returns stop IDs, names, codes and coordinates. Use for \"Which transit stops are within 300 metres of latitude 40.7128 longitude -74.0060\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"search":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Free-text search.","title":"Search"},"onestop_id":{"anyOf":[{"maxLength":120,"type":"string"},{"type":"null"}],"default":null,"description":"Exact Onestop ID, for example 'o-9q9-bart' (operator), 'r-...' (route), 's-...' (stop) or 'f-...' (feed).","title":"Onestop Id"},"stop_id":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"GTFS stop_id value.","title":"Stop Id"},"served_by_onestop_ids":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated route or agency Onestop IDs that must visit the stop.","title":"Served By Onestop Ids"},"served_by_route_type":{"anyOf":[{"maximum":1702,"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"GTFS vehicle type code of routes serving the stop, for example 1 for subway.","title":"Served By Route Type"},"location_type":{"anyOf":[{"maximum":4,"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"0 stop or platform, 1 station, 2 entrance, 3 generic node, 4 boarding area.","title":"Location Type"},"lat":{"anyOf":[{"maximum":90,"minimum":-90,"type":"number"},{"type":"null"}],"default":null,"description":"Latitude of the search centre; use together with `lon` and `radius`.","title":"Lat"},"lon":{"anyOf":[{"maximum":180,"minimum":-180,"type":"number"},{"type":"null"}],"default":null,"description":"Longitude of the search centre; use together with `lat` and `radius`.","title":"Lon"},"radius":{"anyOf":[{"maximum":100000,"minimum":0,"type":"number"},{"type":"null"}],"default":null,"description":"Search radius in metres around lat/lon.","title":"Radius"},"bbox":{"anyOf":[{"maxLength":80,"type":"string"},{"type":"null"}],"default":null,"description":"Bounding box as min_lon,min_lat,max_lon,max_lat.","title":"Bbox"},"feed_onestop_id":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Only records from this feed (Onestop ID such as f-9q9-bart).","title":"Feed Onestop Id"},"include_alerts":{"anyOf":[{"enum":["true","false"],"type":"string"},{"type":"null"}],"default":null,"description":"true to include current GTFS Realtime service alerts.","title":"Include Alerts"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"How many records to return (1 to 100).","title":"Limit"},"after":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"Paging cursor: the `meta.after` value of the previous answer (treat it as opaque).","title":"After"}},"title":"search_stopsArguments","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/get_stop_departures":{"post":{"operationId":"get_stop_departures","summary":"Get upcoming departures from a stop, combining the schedule with real-time data where available: route, trip, scheduled ","description":"Get upcoming departures from a stop, combining the schedule with real-time data where available: route, trip, scheduled and estimated times. Use for \"What are the next departures from stop s-9q9p1wxf72-powellst\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"stop_key":{"description":"Stop Onestop ID such as 's-9q8yyugptw-civiccenter~...', a '<feed onestop_id>:<gtfs stop_id>' key, or the numeric ID.","maxLength":200,"title":"Stop Key","type":"string"},"next":{"anyOf":[{"maximum":86400,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"description":"Only departures within this many seconds from now (local time).","title":"Next"},"service_date":{"anyOf":[{"maxLength":10,"type":"string"},{"type":"null"}],"default":null,"description":"Service date YYYY-MM-DD.","title":"Service Date"},"start_time":{"anyOf":[{"maxLength":8,"type":"string"},{"type":"null"}],"default":null,"description":"Departures after this local time HH:MM:SS.","title":"Start Time"},"end_time":{"anyOf":[{"maxLength":8,"type":"string"},{"type":"null"}],"default":null,"description":"Departures before this local time HH:MM:SS.","title":"End Time"},"relative_date":{"anyOf":[{"maxLength":20,"type":"string"},{"type":"null"}],"default":null,"description":"Day label instead of a date: TODAY, TOMORROW, YESTERDAY, MONDAY to SUNDAY or NEXT_MONDAY to NEXT_SUNDAY.","title":"Relative Date"},"include_alerts":{"anyOf":[{"enum":["true","false"],"type":"string"},{"type":"null"}],"default":null,"description":"true to include current GTFS Realtime service alerts.","title":"Include Alerts"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"How many records to return (1 to 100).","title":"Limit"},"after":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"Paging cursor: the `meta.after` value of the previous answer (treat it as opaque).","title":"After"}},"required":["stop_key"],"title":"get_stop_departuresArguments","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/get_route_trips":{"post":{"operationId":"get_route_trips","summary":"List the trips of a route (headsign, direction, accessibility, service calendar), optionally for one date. Use for \"Whic","description":"List the trips of a route (headsign, direction, accessibility, service calendar), optionally for one date. Use for \"Which trips does route r-9q8y-ace run tomorrow\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"route_key":{"description":"Route Onestop ID, a '<feed onestop_id>:<gtfs route_id>' key, or the numeric ID.","maxLength":200,"title":"Route Key","type":"string"},"service_date":{"anyOf":[{"maxLength":10,"type":"string"},{"type":"null"}],"default":null,"description":"Only trips running on this date, YYYY-MM-DD.","title":"Service Date"},"relative_date":{"anyOf":[{"maxLength":20,"type":"string"},{"type":"null"}],"default":null,"description":"Day label instead of a date: TODAY, TOMORROW, YESTERDAY, MONDAY to SUNDAY or NEXT_MONDAY to NEXT_SUNDAY.","title":"Relative Date"},"trip_id":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"GTFS trip_id value.","title":"Trip Id"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"How many records to return (1 to 100).","title":"Limit"},"after":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"Paging cursor: the `meta.after` value of the previous answer (treat it as opaque).","title":"After"}},"required":["route_key"],"title":"get_route_tripsArguments","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/search_feeds":{"post":{"operationId":"search_feeds","summary":"Search the registry of transit data feeds (GTFS, GTFS Realtime, GBFS, MDS) by name, type, place or location, with licens","description":"Search the registry of transit data feeds (GTFS, GTFS Realtime, GBFS, MDS) by name, type, place or location, with license and source URLs. Use for \"Which GTFS Realtime feeds exist for Seattle\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"search":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Free-text search.","title":"Search"},"onestop_id":{"anyOf":[{"maxLength":120,"type":"string"},{"type":"null"}],"default":null,"description":"Exact Onestop ID, for example 'o-9q9-bart' (operator), 'r-...' (route), 's-...' (stop) or 'f-...' (feed).","title":"Onestop Id"},"spec":{"anyOf":[{"enum":["gtfs","gtfs-rt","gbfs","mds"],"type":"string"},{"type":"null"}],"default":null,"description":"Feed type: gtfs, gtfs-rt, gbfs or mds.","title":"Spec"},"fetch_error":{"anyOf":[{"enum":["true","false"],"type":"string"},{"type":"null"}],"default":null,"description":"true to find feeds whose last fetch failed, false for healthy ones.","title":"Fetch Error"},"lat":{"anyOf":[{"maximum":90,"minimum":-90,"type":"number"},{"type":"null"}],"default":null,"description":"Latitude of the search centre; use together with `lon` and `radius`.","title":"Lat"},"lon":{"anyOf":[{"maximum":180,"minimum":-180,"type":"number"},{"type":"null"}],"default":null,"description":"Longitude of the search centre; use together with `lat` and `radius`.","title":"Lon"},"radius":{"anyOf":[{"maximum":100000,"minimum":0,"type":"number"},{"type":"null"}],"default":null,"description":"Search radius in metres around lat/lon.","title":"Radius"},"bbox":{"anyOf":[{"maxLength":80,"type":"string"},{"type":"null"}],"default":null,"description":"Bounding box as min_lon,min_lat,max_lon,max_lat.","title":"Bbox"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"How many records to return (1 to 100).","title":"Limit"},"after":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"Paging cursor: the `meta.after` value of the previous answer (treat it as opaque).","title":"After"}},"title":"search_feedsArguments","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/get_feed":{"post":{"operationId":"get_feed","summary":"Get one transit feed by Onestop ID with its type, languages, license terms and source URLs. Use for \"Show the feed f-9q9","description":"Get one transit feed by Onestop ID with its type, languages, license terms and source URLs. Use for \"Show the feed f-9q9-bart\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"feed_key":{"description":"Feed Onestop ID such as 'f-9q9-bart' or its numeric ID.","maxLength":200,"title":"Feed Key","type":"string"}},"required":["feed_key"],"title":"get_feedArguments","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/search_feed_versions":{"post":{"operationId":"search_feed_versions","summary":"List fetched versions of GTFS feeds with fetch time, calendar coverage dates and SHA1. Use for \"When was the BART feed l","description":"List fetched versions of GTFS feeds with fetch time, calendar coverage dates and SHA1. Use for \"When was the BART feed last fetched and what dates does it cover\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"feed_onestop_id":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Only records from this feed (Onestop ID such as f-9q9-bart).","title":"Feed Onestop Id"},"sha1":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Exact feed version SHA1.","title":"Sha1"},"fetched_after":{"anyOf":[{"maxLength":30,"type":"string"},{"type":"null"}],"default":null,"description":"Only versions fetched after this UTC time, ISO 8601.","title":"Fetched After"},"fetched_before":{"anyOf":[{"maxLength":30,"type":"string"},{"type":"null"}],"default":null,"description":"Only versions fetched before this UTC time, ISO 8601.","title":"Fetched Before"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"How many records to return (1 to 100).","title":"Limit"},"after":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"Paging cursor: the `meta.after` value of the previous answer (treat it as opaque).","title":"After"}},"title":"search_feed_versionsArguments","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}}}}