RFreact-flightsearch tools

TravelVerified

React Flightsearch WebMCP tools

Chrome Labs flight-search demo

1 tools1 tool

What an agent can do on React Flightsearch

Chrome Labs flight-search demo This page documents every listed tool: what it does, how to install it, and the input fields an agent should send.

WebMCP tools on React Flightsearch

Search & find

searchFlights

Searches for flights with the given parameters.

How to install

Open the react-flightsearch website and ask your browser agent to use searchFlights

Install browse first, then run the command in a terminal. WebMCP tools run directly on the website and do not need a package install.

Run with an agent

Use the searchFlights tool on react-flightsearch with origin: <string>, destination: <string>, tripType: <string>, outboundDate: <string>, inboundDate: <string>, passengers: <number>. Return the structured result and cite the source page.

Input contract

  • origin string City or airport IATA code for the origin. Prefer city IATA codes when a specific airport is not provided. Example: 'RIO' for 'Rio de Janeiro'
  • destination string City or airport IATA code for the destination airport. Prefer city IATA codes when a specific airport is not provided. Example: 'RIO' for 'Rio de Janeiro'
  • tripType string The trip type. Can be "one-way" or "round-trip".
  • outboundDate string The outbound date in YYYY-MM-DD format.
  • inboundDate string The inbound date in YYYY-MM-DD format.
  • passengers number The number of passengers.

Open the source definition