Get Routes
get-routesFull Description
Used to search for various route options between an origin and a destination. Use this if the user is asking for route options or comparisons, or is unsure how to get somewhere.Returns duration, travel modes, and pricing information for up to 4 different modes of transport so the user can quickly compare. Supports various transportation modes including flights, helicopters, subways, trains, trams, cable-car, shuttles, buses, coaches, ferries, taxis and driving. Does not support cycling or specific-vehicle types like 'EV' or 'moped'. Does not support cruises.
Parameters (1 required, 2 optional)
destinationstringThe endpoint of the journey
currencyCodestringThe currency code to use for price display (e.g., USD, EUR). Allow them to specify a different one if needed.
AUDARSBRLCADCLPCNYCOPCZKDKKEURHKDHUFINRIDRILSJPYMYRMXNMADNPRNZDTWDNOKPKRPHPPLNGBPRONRUBSARRSDSGDZARKRWLKRSEKCHFTHBTRYAEDUAHUSDoriginstringThe starting point of the journey. Leave this as undefined if the tool should search from the user's current location.