{"openapi":"3.1.0","info":{"title":"MBTA (BYOK) API","version":"0.1.0","description":"MBTA (BYOK) lets an AI assistant read your own MBTA data through the MBTA API with a key you supply (MBTA V3 API key). Read-only: 12 tools (list_routes, get_route, list_stops, get_stop, list_predictions, list_schedules, list_alerts, list_vehicles, list_trips, list_route_patterns, list_lines, list_facilities). The BYOK key travels with each request, is used for that one call only and is never...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-mbta.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-mbta/docs"},"termsOfService":"https://connectorbay.com/byok-mbta/terms"},"servers":[{"url":"https://byok-mbta.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-mbta/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/list_routes":{"post":{"operationId":"list_routes","summary":"List MBTA routes (subway lines, commuter rail, buses, ferries) filtered by type, stop or direction. Use for \"Which subwa","description":"List MBTA routes (subway lines, commuter rail, buses, ferries) filtered by type, stop or direction. Use for \"Which subway lines does the MBTA run\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"route_type":{"anyOf":[{"maxLength":20,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated route types: 0 light rail, 1 heavy rail, 2 commuter rail, 3 bus, 4 ferry.","title":"Route Type"},"stop":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated stop IDs, for example 'place-sstat'; a parent station ID covers its child stops.","title":"Stop"},"direction_id":{"anyOf":[{"enum":["0","1"],"type":"string"},{"type":"null"}],"default":null,"description":"Direction of travel, 0 or 1; the meaning differs per route (see the route's direction_names). Needs a route filter to take effect.","title":"Direction Id"},"route_ids":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated route IDs to return.","title":"Route Ids"},"limit":{"anyOf":[{"maximum":500,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"How many records to return (1 to 500).","title":"Limit"},"offset":{"anyOf":[{"maximum":100000,"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"Number of records to skip (0-based), for paging.","title":"Offset"}},"title":"list_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/get_route":{"post":{"operationId":"get_route","summary":"Get one route by ID with its name, type, colour and direction names. Use for \"What are the direction names of the Red Li","description":"Get one route by ID with its name, type, colour and direction names. Use for \"What are the direction names of the Red Line\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"id":{"description":"Route ID, for example 'Red' or '39'.","maxLength":200,"title":"Id","type":"string"}},"required":["id"],"title":"get_routeArguments","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/list_stops":{"post":{"operationId":"list_stops","summary":"List stops and stations, filtered by route, location (latitude, longitude, radius), route type or ID. Use for \"Which MBT","description":"List stops and stations, filtered by route, location (latitude, longitude, radius), route type or ID. Use for \"Which MBTA stops are near Boston Common\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"route":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated route IDs, for example 'Red' or '1,39'.","title":"Route"},"route_type":{"anyOf":[{"maxLength":20,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated route types: 0 light rail, 1 heavy rail, 2 commuter rail, 3 bus, 4 ferry.","title":"Route Type"},"latitude":{"anyOf":[{"maximum":90,"minimum":-90,"type":"number"},{"type":"null"}],"default":null,"description":"Latitude of a search centre; send together with longitude.","title":"Latitude"},"longitude":{"anyOf":[{"maximum":180,"minimum":-180,"type":"number"},{"type":"null"}],"default":null,"description":"Longitude of a search centre; send together with latitude.","title":"Longitude"},"radius":{"anyOf":[{"maximum":1,"minimum":0,"type":"number"},{"type":"null"}],"default":null,"description":"Search radius in degrees (about 0.02 is one mile); default 0.01.","title":"Radius"},"stop_ids":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated stop IDs to return.","title":"Stop Ids"},"location_type":{"anyOf":[{"maxLength":20,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated location types: 0 stop, 1 station, 2 entrance, 3 generic node.","title":"Location Type"},"sort":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Sort by an attribute such as name or distance; prefix '-' for descending. Sorting by distance needs latitude and longitude.","title":"Sort"},"limit":{"anyOf":[{"maximum":500,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"How many records to return (1 to 500).","title":"Limit"},"offset":{"anyOf":[{"maximum":100000,"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"Number of records to skip (0-based), for paging.","title":"Offset"}},"title":"list_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":{"post":{"operationId":"get_stop","summary":"Get one stop or station by ID with its name, coordinates and wheelchair boarding flag (0 unknown, 1 accessible, 2 not). ","description":"Get one stop or station by ID with its name, coordinates and wheelchair boarding flag (0 unknown, 1 accessible, 2 not). Use for \"What is the location of South Station\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"id":{"description":"Stop ID, for example 'place-sstat'.","maxLength":200,"title":"Id","type":"string"}},"required":["id"],"title":"get_stopArguments","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/list_predictions":{"post":{"operationId":"list_predictions","summary":"List live arrival and departure predictions. At least one filter (route, stop, trip or a location) is required. Use for ","description":"List live arrival and departure predictions. At least one filter (route, stop, trip or a location) is required. Use for \"When are the next Red Line trains arriving at South Station\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"route":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated route IDs, for example 'Red' or '1,39'.","title":"Route"},"stop":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated stop IDs, for example 'place-sstat'; a parent station ID covers its child stops.","title":"Stop"},"trip":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated trip IDs.","title":"Trip"},"direction_id":{"anyOf":[{"enum":["0","1"],"type":"string"},{"type":"null"}],"default":null,"description":"Direction of travel, 0 or 1; the meaning differs per route (see the route's direction_names). Needs a route filter to take effect.","title":"Direction Id"},"route_type":{"anyOf":[{"maxLength":20,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated route types: 0 light rail, 1 heavy rail, 2 commuter rail, 3 bus, 4 ferry.","title":"Route Type"},"latitude":{"anyOf":[{"maximum":90,"minimum":-90,"type":"number"},{"type":"null"}],"default":null,"description":"Latitude of a search centre; send together with longitude.","title":"Latitude"},"longitude":{"anyOf":[{"maximum":180,"minimum":-180,"type":"number"},{"type":"null"}],"default":null,"description":"Longitude of a search centre; send together with latitude.","title":"Longitude"},"radius":{"anyOf":[{"maximum":1,"minimum":0,"type":"number"},{"type":"null"}],"default":null,"description":"Search radius in degrees (about 0.02 is one mile); default 0.01.","title":"Radius"},"sort":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":"arrival_time","description":"Sort by an attribute such as arrival_time or departure_time; prefix '-' for descending.","title":"Sort"},"limit":{"anyOf":[{"maximum":500,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"How many records to return (1 to 500).","title":"Limit"},"offset":{"anyOf":[{"maximum":100000,"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"Number of records to skip (0-based), for paging.","title":"Offset"}},"title":"list_predictionsArguments","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/list_schedules":{"post":{"operationId":"list_schedules","summary":"List scheduled stop times for a route, stop or trip. At least one of route, stop or trip is required. Use for \"What is t","description":"List scheduled stop times for a route, stop or trip. At least one of route, stop or trip is required. Use for \"What is the timetable of the 39 bus at Forest Hills between 8 and 9 in the morning\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"route":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated route IDs, for example 'Red' or '1,39'.","title":"Route"},"stop":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated stop IDs, for example 'place-sstat'; a parent station ID covers its child stops.","title":"Stop"},"trip":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated trip IDs.","title":"Trip"},"direction_id":{"anyOf":[{"enum":["0","1"],"type":"string"},{"type":"null"}],"default":null,"description":"Direction of travel, 0 or 1; the meaning differs per route (see the route's direction_names). Needs a route filter to take effect.","title":"Direction Id"},"date":{"anyOf":[{"maxLength":10,"type":"string"},{"type":"null"}],"default":null,"description":"Service date as YYYY-MM-DD.","title":"Date"},"route_type":{"anyOf":[{"maxLength":20,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated route types: 0 light rail, 1 heavy rail, 2 commuter rail, 3 bus, 4 ferry.","title":"Route Type"},"min_time":{"anyOf":[{"maxLength":5,"type":"string"},{"type":"null"}],"default":null,"description":"Earliest time as HH:MM (24:00 or more means after midnight of the service day).","title":"Min Time"},"max_time":{"anyOf":[{"maxLength":5,"type":"string"},{"type":"null"}],"default":null,"description":"Latest time as HH:MM.","title":"Max Time"},"sort":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":"departure_time","description":"Sort by an attribute such as departure_time; prefix '-' for descending.","title":"Sort"},"limit":{"anyOf":[{"maximum":500,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"How many records to return (1 to 500).","title":"Limit"},"offset":{"anyOf":[{"maximum":100000,"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"Number of records to skip (0-based), for paging.","title":"Offset"}},"title":"list_schedulesArguments","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/list_alerts":{"post":{"operationId":"list_alerts","summary":"List service alerts (delays, detours, closures, elevator outages) filtered by route, stop, route type, severity or time.","description":"List service alerts (delays, detours, closures, elevator outages) filtered by route, stop, route type, severity or time. Use for \"Are there any delays on the Orange Line right now\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"route":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated route IDs, for example 'Red' or '1,39'.","title":"Route"},"stop":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated stop IDs, for example 'place-sstat'; a parent station ID covers its child stops.","title":"Stop"},"route_type":{"anyOf":[{"maxLength":20,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated route types: 0 light rail, 1 heavy rail, 2 commuter rail, 3 bus, 4 ferry.","title":"Route Type"},"datetime":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":"NOW","description":"Only alerts active at this ISO 8601 time, or the word NOW.","title":"Datetime"},"severity":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated severity levels (numbers), for example '5,6,7'.","title":"Severity"},"lifecycle":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated lifecycle values such as NEW, ONGOING, UPCOMING.","title":"Lifecycle"},"limit":{"anyOf":[{"maximum":500,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"How many records to return (1 to 500).","title":"Limit"},"offset":{"anyOf":[{"maximum":100000,"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"Number of records to skip (0-based), for paging.","title":"Offset"}},"title":"list_alertsArguments","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/list_vehicles":{"post":{"operationId":"list_vehicles","summary":"List vehicles (trains, buses, ferries) with live position, speed, status and occupancy, filtered by route or trip. Use f","description":"List vehicles (trains, buses, ferries) with live position, speed, status and occupancy, filtered by route or trip. Use for \"Where are the Green Line trains right now\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"route":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated route IDs, for example 'Red' or '1,39'.","title":"Route"},"trip":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated trip IDs.","title":"Trip"},"direction_id":{"anyOf":[{"enum":["0","1"],"type":"string"},{"type":"null"}],"default":null,"description":"Direction of travel, 0 or 1; the meaning differs per route (see the route's direction_names). Needs a route filter to take effect.","title":"Direction Id"},"route_type":{"anyOf":[{"maxLength":20,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated route types: 0 light rail, 1 heavy rail, 2 commuter rail, 3 bus, 4 ferry.","title":"Route Type"},"label":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated vehicle labels.","title":"Label"},"limit":{"anyOf":[{"maximum":500,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"How many records to return (1 to 500).","title":"Limit"},"offset":{"anyOf":[{"maximum":100000,"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"Number of records to skip (0-based), for paging.","title":"Offset"}},"title":"list_vehiclesArguments","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/list_trips":{"post":{"operationId":"list_trips","summary":"List trips with headsign, direction and accessibility, filtered by route, date, name or ID. Use for \"What trips does the","description":"List trips with headsign, direction and accessibility, filtered by route, date, name or ID. Use for \"What trips does the Providence commuter rail line run today\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"route":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated route IDs, for example 'Red' or '1,39'.","title":"Route"},"direction_id":{"anyOf":[{"enum":["0","1"],"type":"string"},{"type":"null"}],"default":null,"description":"Direction of travel, 0 or 1; the meaning differs per route (see the route's direction_names). Needs a route filter to take effect.","title":"Direction Id"},"date":{"anyOf":[{"maxLength":10,"type":"string"},{"type":"null"}],"default":null,"description":"Service date as YYYY-MM-DD.","title":"Date"},"name":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated trip names (commuter rail train numbers).","title":"Name"},"trip_ids":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated trip IDs to return.","title":"Trip Ids"},"limit":{"anyOf":[{"maximum":500,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"How many records to return (1 to 500).","title":"Limit"},"offset":{"anyOf":[{"maximum":100000,"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"Number of records to skip (0-based), for paging.","title":"Offset"}},"title":"list_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/list_route_patterns":{"post":{"operationId":"list_route_patterns","summary":"List route patterns (the stop sequences a route's trips follow) with name, direction and typicality. Use for \"What are t","description":"List route patterns (the stop sequences a route's trips follow) with name, direction and typicality. Use for \"What are the branches of the Green Line eastbound\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"route":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated route IDs, for example 'Red' or '1,39'.","title":"Route"},"stop":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated stop IDs, for example 'place-sstat'; a parent station ID covers its child stops.","title":"Stop"},"direction_id":{"anyOf":[{"enum":["0","1"],"type":"string"},{"type":"null"}],"default":null,"description":"Direction of travel, 0 or 1; the meaning differs per route (see the route's direction_names). Needs a route filter to take effect.","title":"Direction Id"},"canonical":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"True to return only the canonical pattern per route and direction.","title":"Canonical"},"date":{"anyOf":[{"maxLength":10,"type":"string"},{"type":"null"}],"default":null,"description":"Service date as YYYY-MM-DD.","title":"Date"},"limit":{"anyOf":[{"maximum":500,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"How many records to return (1 to 500).","title":"Limit"},"offset":{"anyOf":[{"maximum":100000,"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"Number of records to skip (0-based), for paging.","title":"Offset"}},"title":"list_route_patternsArguments","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/list_lines":{"post":{"operationId":"list_lines","summary":"List MBTA lines, each grouping one or more routes, with names and colours. Use for \"Which MBTA lines exist and what colo","description":"List MBTA lines, each grouping one or more routes, with names and colours. Use for \"Which MBTA lines exist and what colours do they use\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"line_ids":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated line IDs to return.","title":"Line Ids"},"limit":{"anyOf":[{"maximum":500,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"How many records to return (1 to 500).","title":"Limit"},"offset":{"anyOf":[{"maximum":100000,"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"Number of records to skip (0-based), for paging.","title":"Offset"}},"title":"list_linesArguments","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/list_facilities":{"post":{"operationId":"list_facilities","summary":"List station facilities such as elevators, escalators, parking lots and bike storage, filtered by stop or type. Use for ","description":"List station facilities such as elevators, escalators, parking lots and bike storage, filtered by stop or type. Use for \"Which elevators serve Park Street station\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"stop":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated stop IDs, for example 'place-sstat'; a parent station ID covers its child stops.","title":"Stop"},"type":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated facility types, for example 'ELEVATOR,ESCALATOR'.","title":"Type"},"limit":{"anyOf":[{"maximum":500,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"How many records to return (1 to 500).","title":"Limit"},"offset":{"anyOf":[{"maximum":100000,"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"Number of records to skip (0-based), for paging.","title":"Offset"}},"title":"list_facilitiesArguments","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}}}}