WebMCP

TravelWebMCP verified

webmcp-flight-demo WebMCP tools

Flight search & booking demo — imperative and declarative variants

1 tools1 methodsspec API surface

What can an agent do with webmcp-flight-demo WebMCP tools?

Flight search & booking demo — imperative and declarative variants 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 webmcp-flight-demo

Tool 1 of 1WebMCPAnswer

search_flights

Search for available flights between cities. Returns detailed flight information including airline, price, times, stops, duration, aircraft type, amenities, and seat details.

How to install

Open the webmcp-flight-demo website and ask your browser agent to use search_flights

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 search_flights tool on webmcp-flight-demo with origin: <string>, destination: <string>, departureDate: <string>, returnDate: <string>, passengers: <number>. Return the structured result and cite the source page.

Input contract

  • origin string The origin city for the flight
  • destination string The destination city for the flight
  • departureDate string The departure date in YYYY-MM-DD format
  • returnDate string The return date in YYYY-MM-DD format. Omit for one-way trips.
  • passengers number The number of passengers (1-8)

Open the source definition