{"openapi":"3.1.0","info":{"title":"Navitia (BYOK) API","version":"0.1.0","description":"Navitia (BYOK) lets an AI assistant read your own Navitia data through the Navitia API with a key you supply (Navitia token). Read-only: 11 tools (list_coverages, search_places, search_public_transport_objects, list_places_nearby, plan_journey, get_stop_area_departures, get_stop_area_arrivals, get_stop_area_schedules, list_line_reports, list_traffic_reports, list_lines). The BYOK key travels with...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-navitia.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-navitia/docs"},"termsOfService":"https://connectorbay.com/byok-navitia/terms"},"servers":[{"url":"https://byok-navitia.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-navitia/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_coverages":{"post":{"operationId":"list_coverages","summary":"List the regions (coverages) the token can query, with their production period; use the IDs in the other tools. Use for ","description":"List the regions (coverages) the token can query, with their production period; use the IDs in the other tools. Use for \"Which regions can I query with my Navitia token\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"count":{"anyOf":[{"maximum":200,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"How many results to return (1 to 200).","title":"Count"},"start_page":{"anyOf":[{"maximum":100000,"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"Page number, starting at 0.","title":"Start Page"}},"title":"list_coveragesArguments","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_places":{"post":{"operationId":"search_places","summary":"Search places by name in a region: stop areas, addresses, points of interest and administrative regions, best match firs","description":"Search places by name in a region: stop areas, addresses, points of interest and administrative regions, best match first. Use for \"Find the stop near 'Eiffel Tower' in Ile-de-France\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"region_id":{"description":"Coverage (region) ID, for example 'fr-idf' or 'us-ca'; list them with list_coverages.","maxLength":200,"title":"Region Id","type":"string"},"q":{"description":"Search text, for example 'Eiffel Tower'.","maxLength":100,"title":"Q","type":"string"},"type":{"anyOf":[{"enum":["stop_area","address","administrative_region","poi"],"type":"string"},{"type":"null"}],"default":null,"description":"Limit to one kind of place.","title":"Type"},"from_coordinates":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Prefer places near this point, as longitude;latitude, for example 2.35;48.85.","title":"From Coordinates"},"depth":{"anyOf":[{"maximum":3,"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"Level of detail of nested objects, 0 (smallest) to 3 (largest).","title":"Depth"},"disable_geojson":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"True to leave geographic shapes out of the answer (much smaller).","title":"Disable Geojson"}},"required":["region_id","q"],"title":"search_placesArguments","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_public_transport_objects":{"post":{"operationId":"search_public_transport_objects","summary":"Search lines, routes, networks, stop areas and stop points of a region by name. Use for \"Which line is called 'RER A'\".","description":"Search lines, routes, networks, stop areas and stop points of a region by name. Use for \"Which line is called 'RER A'\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"region_id":{"description":"Coverage (region) ID, for example 'fr-idf' or 'us-ca'; list them with list_coverages.","maxLength":200,"title":"Region Id","type":"string"},"q":{"description":"Search text, for example 'metro 4' or 'RER A'.","maxLength":100,"title":"Q","type":"string"},"type":{"anyOf":[{"enum":["network","commercial_mode","line","route","stop_area","stop_point"],"type":"string"},{"type":"null"}],"default":null,"description":"Limit to one kind of object.","title":"Type"},"disable_disruption":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"True to leave disruptions out of the answer.","title":"Disable Disruption"},"depth":{"anyOf":[{"maximum":3,"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"Level of detail of nested objects, 0 (smallest) to 3 (largest).","title":"Depth"}},"required":["region_id","q"],"title":"search_public_transport_objectsArguments","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_places_nearby":{"post":{"operationId":"list_places_nearby","summary":"List stops and points of interest within a distance of a coordinate, nearest first. Use for \"Which stops are within 300 ","description":"List stops and points of interest within a distance of a coordinate, nearest first. Use for \"Which stops are within 300 metres of the Transamerica Pyramid\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"region_id":{"description":"Coverage (region) ID, for example 'fr-idf' or 'us-ca'; list them with list_coverages.","maxLength":200,"title":"Region Id","type":"string"},"coordinates":{"description":"Longitude and latitude joined by a semicolon, for example '-122.402770;37.794682'.","maxLength":200,"title":"Coordinates","type":"string"},"distance":{"anyOf":[{"maximum":100000,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"description":"Search radius in metres (default 500).","title":"Distance"},"type":{"anyOf":[{"enum":["stop_area","stop_point","poi","address"],"type":"string"},{"type":"null"}],"default":null,"description":"Limit to one kind of place.","title":"Type"},"count":{"anyOf":[{"maximum":200,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"How many results to return (1 to 200).","title":"Count"},"start_page":{"anyOf":[{"maximum":100000,"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"Page number, starting at 0.","title":"Start Page"},"disable_geojson":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"True to leave geographic shapes out of the answer (much smaller).","title":"Disable Geojson"}},"required":["region_id","coordinates"],"title":"list_places_nearbyArguments","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/plan_journey":{"post":{"operationId":"plan_journey","summary":"Compute public transport journeys between two places in a region, with sections, duration, transfers and fare when avail","description":"Compute public transport journeys between two places in a region, with sections, duration, transfers and fare when available. Use for \"How do I get from Gare de Lyon to the Eiffel Tower by public transport tomorrow at 9\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"region_id":{"description":"Coverage (region) ID, for example 'fr-idf' or 'us-ca'; list them with list_coverages.","maxLength":200,"title":"Region Id","type":"string"},"from_place":{"anyOf":[{"maxLength":80,"type":"string"},{"type":"null"}],"default":null,"description":"Origin as longitude;latitude (for example 2.3749;48.8467) or a place ID such as 'stop_area:...'.","title":"From Place"},"to_place":{"anyOf":[{"maxLength":80,"type":"string"},{"type":"null"}],"default":null,"description":"Destination as longitude;latitude or a place ID.","title":"To Place"},"datetime":{"anyOf":[{"maxLength":15,"type":"string"},{"type":"null"}],"default":null,"description":"Travel time as ISO 8601 basic format, for example 20261020T090000; default is now and must be inside the coverage's production period.","title":"Datetime"},"datetime_represents":{"anyOf":[{"enum":["departure","arrival"],"type":"string"},{"type":"null"}],"default":null,"description":"Whether datetime is the departure or the arrival time.","title":"Datetime Represents"},"traveler_type":{"anyOf":[{"enum":["standard","slow_walker","fast_walker","luggage","wheelchair"],"type":"string"},{"type":"null"}],"default":null,"description":"Walking and accessibility profile.","title":"Traveler Type"},"first_section_mode":{"anyOf":[{"enum":["walking","bike","bss","car","ridesharing","taxi"],"type":"string"},{"type":"null"}],"default":null,"description":"How the traveler gets to the first stop: walking, bike, bss (bike sharing), car, ridesharing or taxi.","title":"First Section Mode"},"last_section_mode":{"anyOf":[{"enum":["walking","bike","bss","car","ridesharing","taxi"],"type":"string"},{"type":"null"}],"default":null,"description":"How the traveler leaves the last stop.","title":"Last Section Mode"},"max_nb_transfers":{"anyOf":[{"maximum":20,"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"Maximum number of transfers per journey (default 10).","title":"Max Nb Transfers"},"max_duration_to_pt":{"anyOf":[{"maximum":7200,"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"Longest walk or ride to reach public transport, in seconds (default 1800).","title":"Max Duration To Pt"},"data_freshness":{"anyOf":[{"enum":["base_schedule","realtime"],"type":"string"},{"type":"null"}],"default":null,"description":"base_schedule (default) or realtime to take live disruptions into account.","title":"Data Freshness"},"count":{"anyOf":[{"maximum":10,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"description":"Number of journeys to return.","title":"Count"}},"required":["region_id"],"title":"plan_journeyArguments","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_area_departures":{"post":{"operationId":"get_stop_area_departures","summary":"List the next departures from a stop area in chronological order, with line, direction and times. Use for \"What are the ","description":"List the next departures from a stop area in chronological order, with line, direction and times. Use for \"What are the next departures from this station\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"region_id":{"description":"Coverage (region) ID, for example 'fr-idf' or 'us-ca'; list them with list_coverages.","maxLength":200,"title":"Region Id","type":"string"},"stop_area_id":{"description":"Stop area ID, for example 'stop_area:OSF:SA:CTP4025'; find it with search_public_transport_objects or search_places.","maxLength":200,"title":"Stop Area Id","type":"string"},"from_datetime":{"anyOf":[{"maxLength":15,"type":"string"},{"type":"null"}],"default":null,"description":"Start time as ISO 8601 basic format, for example 20261020T083000; default is now.","title":"From Datetime"},"duration":{"anyOf":[{"maximum":604800,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"description":"Window in seconds after from_datetime to look in (default 86400).","title":"Duration"},"count":{"anyOf":[{"maximum":200,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"How many results to return (1 to 200).","title":"Count"},"data_freshness":{"anyOf":[{"enum":["base_schedule","realtime"],"type":"string"},{"type":"null"}],"default":null,"description":"base_schedule for planned timetables or realtime to include live updates.","title":"Data Freshness"},"direction_type":{"anyOf":[{"enum":["all","forward","backward"],"type":"string"},{"type":"null"}],"default":null,"description":"Filter by route direction: forward (inbound), backward (outbound) or all.","title":"Direction Type"},"depth":{"anyOf":[{"maximum":3,"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"Level of detail of nested objects, 0 (smallest) to 3 (largest).","title":"Depth"},"disable_geojson":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"True to leave geographic shapes out of the answer (much smaller).","title":"Disable Geojson"}},"required":["region_id","stop_area_id"],"title":"get_stop_area_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_stop_area_arrivals":{"post":{"operationId":"get_stop_area_arrivals","summary":"List the next arrivals at a stop area in chronological order, with line, direction and times. Use for \"Which trains arri","description":"List the next arrivals at a stop area in chronological order, with line, direction and times. Use for \"Which trains arrive at this station in the next hour\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"region_id":{"description":"Coverage (region) ID, for example 'fr-idf' or 'us-ca'; list them with list_coverages.","maxLength":200,"title":"Region Id","type":"string"},"stop_area_id":{"description":"Stop area ID, for example 'stop_area:OSF:SA:CTP4025'; find it with search_public_transport_objects or search_places.","maxLength":200,"title":"Stop Area Id","type":"string"},"from_datetime":{"anyOf":[{"maxLength":15,"type":"string"},{"type":"null"}],"default":null,"description":"Start time as ISO 8601 basic format, for example 20261020T083000; default is now.","title":"From Datetime"},"duration":{"anyOf":[{"maximum":604800,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"description":"Window in seconds after from_datetime to look in (default 86400).","title":"Duration"},"count":{"anyOf":[{"maximum":200,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"How many results to return (1 to 200).","title":"Count"},"data_freshness":{"anyOf":[{"enum":["base_schedule","realtime"],"type":"string"},{"type":"null"}],"default":null,"description":"base_schedule for planned timetables or realtime to include live updates.","title":"Data Freshness"},"direction_type":{"anyOf":[{"enum":["all","forward","backward"],"type":"string"},{"type":"null"}],"default":null,"description":"Filter by route direction: forward (inbound), backward (outbound) or all.","title":"Direction Type"},"depth":{"anyOf":[{"maximum":3,"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"Level of detail of nested objects, 0 (smallest) to 3 (largest).","title":"Depth"},"disable_geojson":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"True to leave geographic shapes out of the answer (much smaller).","title":"Disable Geojson"}},"required":["region_id","stop_area_id"],"title":"get_stop_area_arrivalsArguments","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_area_schedules":{"post":{"operationId":"get_stop_area_schedules","summary":"Get timetables grouped by line and direction for a stop area, with the departure times in the window. Use for \"What is t","description":"Get timetables grouped by line and direction for a stop area, with the departure times in the window. Use for \"What is the timetable of each line at this station today\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"region_id":{"description":"Coverage (region) ID, for example 'fr-idf' or 'us-ca'; list them with list_coverages.","maxLength":200,"title":"Region Id","type":"string"},"stop_area_id":{"description":"Stop area ID, for example 'stop_area:OSF:SA:CTP4025'; find it with search_public_transport_objects or search_places.","maxLength":200,"title":"Stop Area Id","type":"string"},"from_datetime":{"anyOf":[{"maxLength":15,"type":"string"},{"type":"null"}],"default":null,"description":"Start time as ISO 8601 basic format, for example 20261020T083000; default is now.","title":"From Datetime"},"duration":{"anyOf":[{"maximum":604800,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"description":"Window in seconds after from_datetime to look in (default 86400).","title":"Duration"},"data_freshness":{"anyOf":[{"enum":["base_schedule","realtime"],"type":"string"},{"type":"null"}],"default":null,"description":"base_schedule for planned timetables or realtime to include live updates.","title":"Data Freshness"},"direction_type":{"anyOf":[{"enum":["all","forward","backward"],"type":"string"},{"type":"null"}],"default":null,"description":"Filter by route direction: forward (inbound), backward (outbound) or all.","title":"Direction Type"},"items_per_schedule":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"description":"Maximum number of times per line and direction.","title":"Items Per Schedule"},"depth":{"anyOf":[{"maximum":3,"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"Level of detail of nested objects, 0 (smallest) to 3 (largest).","title":"Depth"},"disable_geojson":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"True to leave geographic shapes out of the answer (much smaller).","title":"Disable Geojson"}},"required":["region_id","stop_area_id"],"title":"get_stop_area_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_line_reports":{"post":{"operationId":"list_line_reports","summary":"List current and planned disruptions of a region grouped by line, with the affected stops. Use for \"Which lines in Ile-d","description":"List current and planned disruptions of a region grouped by line, with the affected stops. Use for \"Which lines in Ile-de-France are disrupted at the moment\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"region_id":{"description":"Coverage (region) ID, for example 'fr-idf' or 'us-ca'; list them with list_coverages.","maxLength":200,"title":"Region Id","type":"string"},"since":{"anyOf":[{"maxLength":15,"type":"string"},{"type":"null"}],"default":null,"description":"Only disruptions active after this time (ISO 8601 basic format).","title":"Since"},"until":{"anyOf":[{"maxLength":15,"type":"string"},{"type":"null"}],"default":null,"description":"Only disruptions active before this time (ISO 8601 basic format).","title":"Until"},"count":{"anyOf":[{"maximum":200,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"description":"Maximum number of line reports (default 25).","title":"Count"},"depth":{"anyOf":[{"maximum":3,"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"Level of detail of nested objects, 0 (smallest) to 3 (largest).","title":"Depth"},"disable_geojson":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"True to leave geographic shapes out of the answer (much smaller).","title":"Disable Geojson"}},"required":["region_id"],"title":"list_line_reportsArguments","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_traffic_reports":{"post":{"operationId":"list_traffic_reports","summary":"List disruptions of a region grouped by network, with the affected lines and stop areas. Use for \"What is the traffic si","description":"List disruptions of a region grouped by network, with the affected lines and stop areas. Use for \"What is the traffic situation on each network in this region\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"region_id":{"description":"Coverage (region) ID, for example 'fr-idf' or 'us-ca'; list them with list_coverages.","maxLength":200,"title":"Region Id","type":"string"},"count":{"anyOf":[{"maximum":200,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"description":"Maximum number of networks.","title":"Count"},"depth":{"anyOf":[{"maximum":3,"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"Level of detail of nested objects, 0 (smallest) to 3 (largest).","title":"Depth"},"disable_geojson":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"True to leave geographic shapes out of the answer (much smaller).","title":"Disable Geojson"}},"required":["region_id"],"title":"list_traffic_reportsArguments","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 the lines of a region with code, colour, mode and opening hours. Use for \"Which metro lines exist in this region\".","description":"List the lines of a region with code, colour, mode and opening hours. Use for \"Which metro lines exist in this region\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"region_id":{"description":"Coverage (region) ID, for example 'fr-idf' or 'us-ca'; list them with list_coverages.","maxLength":200,"title":"Region Id","type":"string"},"count":{"anyOf":[{"maximum":200,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"How many results to return (1 to 200).","title":"Count"},"start_page":{"anyOf":[{"maximum":100000,"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"Page number, starting at 0.","title":"Start Page"},"depth":{"anyOf":[{"maximum":3,"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"Level of detail of nested objects, 0 (smallest) to 3 (largest).","title":"Depth"},"filter":{"anyOf":[{"maxLength":150,"type":"string"},{"type":"null"}],"default":null,"description":"Filter expression, for example 'physical_mode.id=physical_mode:Metro' or 'network.id=network:RER'.","title":"Filter"},"disable_geojson":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"True to leave geographic shapes out of the answer (much smaller).","title":"Disable Geojson"}},"required":["region_id"],"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}}}}