redbus.inredbus.in tools

TravelVerified

Redbus WebMCP tools

India's bus ticket booking platform

2 tools1 ways to use

What an agent can do on Redbus

India's bus ticket booking platform This page documents every listed tool: what it does, how to install it, and the input fields an agent should send.

WebMCP tools on Redbus

Search & find

searchBuses

Read the full searchBuses page

Search for available buses between two cities on a specific date. Resolves city names automatically. Use this tool on the HOME page when the user gives route + date + filters in one prompt. Optionally include filter preferences (AC, seat type, departure/arrival slots, operator/brand keyword like Volvo) — they are applied after navigation to the results page. Use runAfterSearchResultsLoad (same shape as runSrpBookingFlow) so open-bus + seat + continue runs automatically after results load — required for multi-step prompts because navigation unloads the home page.

How to install

Open the redbus.in website and ask your browser agent to use searchBuses

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 searchBuses tool on redbus.in with source: <string>, destination: <string>, date: <string>, filters: <object>, runAfterSearchResultsLoad: <object>. Return the structured result and cite the source page.

Input contract

  • source string Source city name (e.g., "Bangalore", "Singapore", "Kuala Lumpur", "Phnom Penh")
  • destination string Destination city name (e.g., "Chennai", "Johor Bahru", "Penang", "Siem Reap")
  • date string Travel date. Use ISO YYYY-MM-DD with the correct calendar year (same as the user's "today"). Accepts natural language ("today", "tomorrow") or "in N days". If the year is wrong/outdated, it is corrected to this year or next.
  • filters object Optional filters to pre-apply on the results page. Include every criterion the user asked for (e.g. AC + SLEEPER + Volvo) in one object.
  • runAfterSearchResultsLoad object Optional. Same fields as runSrpBookingFlow (openBus, selectSeats, continueToBoardingPoints, applyFilters, waitForSearchResultsMs). Stored for the results page to execute after tuples load.

Open the source definition

Buy or book

get_bus_offers

Read the full get_bus_offers page

Fetch active promo codes and discounts for bus bookings on redBus. Optionally provide a route (e.g., "Bangalore to Chennai") to get route-specific offers. Returns a list of promo codes, discount details, and validity information.

How to install

Open the redbus.in website and ask your browser agent to use get_bus_offers

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 get_bus_offers tool on redbus.in with route: <string>. Return the structured result and cite the source page.

Input contract

  • route string Bus route in "City to City" format (e.g., "Bangalore to Chennai"). Optional — if omitted, returns all active platform-wide offers.

Open the source definition