WebMCP

TravelWebMCP verified

react-flightsearch WebMCP tools

Chrome Labs flight-search demo

1 tools1 methodsspec API surface

What can an agent do with react-flightsearch WebMCP tools?

Chrome Labs flight-search demo This page documents every listed tool, the action or answer it provides, its installation command, and the input fields an agent should send.

WebMCP tools on react-flightsearch

Tool 1 of 1WebMCPAnswer

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