← WebMCP Directory

Tool tree

irctcbwmi.vercel.app

Travel & EventsTools verified
Website
An independent redesign concept for IRCTC. Book the journey, not just the ticket — every class's availability at a glance, honest waitlist odds, real berth selection, and live tracking that doesn't…
Explore capabilities

    page: Every page

    get_page_titleAnswer

    Read the title of the current page.

    View tool JSON
    {
      "name": "get_page_title",
      "kind": "answer",
      "impl": "imperative",
      "description": "Read the title of the current page.",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": false
      },
      "page": "/"
    }
    get_page_stateAnswer

    Read the app's current route, search form, highlighted train, booking draft, and berth map as seen in the UI.

    View tool JSON
    {
      "name": "get_page_state",
      "kind": "answer",
      "impl": "imperative",
      "description": "Read the app's current route, search form, highlighted train, booking draft, and berth map as seen in the UI.",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": false
      },
      "page": "/"
    }
    navigateAction

    Open a path in the app (search, train, booking draft, trip, map, home).

    View tool JSON
    {
      "name": "navigate",
      "kind": "act",
      "impl": "imperative",
      "description": "Open a path in the app (search, train, booking draft, trip, map, home).",
      "inputSchema": {
        "type": "object",
        "properties": {
          "href": {
            "type": "string",
            "description": "Path, e.g. /search?from=NDLS&to=MAS"
          }
        },
        "required": [
          "href"
        ],
        "additionalProperties": false
      },
      "page": "/"
    }
    set_searchAction

    Write origin, destination, date and quota into the URL and open results.

    View tool JSON
    {
      "name": "set_search",
      "kind": "act",
      "impl": "imperative",
      "description": "Write origin, destination, date and quota into the URL and open results.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "from": {
            "type": "string",
            "description": "Origin station code or city:Name token"
          },
          "to": {
            "type": "string",
            "description": "Destination station code or city:Name token"
          },
          "date": {
            "type": "string",
            "description": "YYYY-MM-DD"
          },
          "quota": {
            "type": "string",
            "description": "Quota code",
            "enum": [
              "GN",
              "TQ",
              "PT",
              "LD",
              "SS"
            ]
          }
        },
        "required": [
          "from",
          "to",
          "date"
        ],
        "additionalProperties": false
      },
      "page": "/"
    }
    open_trainAction

    Open a train's route page.

    View tool JSON
    {
      "name": "open_train",
      "kind": "act",
      "impl": "imperative",
      "description": "Open a train's route page.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "number": {
            "type": "string",
            "description": "Five-digit train number"
          },
          "date": {
            "type": "string",
            "description": "Optional journey date"
          }
        },
        "required": [
          "number"
        ],
        "additionalProperties": false
      },
      "page": "/"
    }
    select_classAction

    Highlight a travel class on the current search or booking.

    View tool JSON
    {
      "name": "select_class",
      "kind": "act",
      "impl": "imperative",
      "description": "Highlight a travel class on the current search or booking.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "classCode": {
            "type": "string",
            "description": "Class code",
            "enum": [
              "1A",
              "2A",
              "3A",
              "3E",
              "SL",
              "CC",
              "EC",
              "2S"
            ]
          }
        },
        "required": [
          "classCode"
        ],
        "additionalProperties": false
      },
      "page": "/"
    }
    select_berthAction

    Choose a berth on the visible coach diagram. Prefers berthType when given (LB, MB, UB, SL, SU).

    View tool JSON
    {
      "name": "select_berth",
      "kind": "act",
      "impl": "imperative",
      "description": "Choose a berth on the visible coach diagram. Prefers berthType when given (LB, MB, UB, SL, SU).",
      "inputSchema": {
        "type": "object",
        "properties": {
          "coach": {
            "type": "string",
            "description": "Coach code, e.g. B3"
          },
          "berth": {
            "type": "integer",
            "description": "Berth number"
          },
          "berthType": {
            "type": "string",
            "description": "Optional berth type to prefer",
            "enum": [
              "LB",
              "MB",
              "UB",
              "SL",
              "SU",
              "WS",
              "AS",
              "CB"
            ]
          }
        },
        "required": [
          "coach",
          "berth"
        ],
        "additionalProperties": false
      },
      "page": "/"
    }
    set_passengersAction

    Fill the passenger list on the current booking draft.

    View tool JSON
    {
      "name": "set_passengers",
      "kind": "act",
      "impl": "imperative",
      "description": "Fill the passenger list on the current booking draft.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "passengers": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string",
                  "description": "Name as on ID"
                },
                "age": {
                  "type": "integer"
                },
                "gender": {
                  "type": "string",
                  "description": "Gender",
                  "enum": [
                    "male",
                    "female",
                    "other"
                  ]
                }
              },
              "required": [
                "name",
                "age",
                "gender"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "passengers"
        ],
        "additionalProperties": false
      },
      "page": "/"
    }
    set_contactAction

    Fill phone and email on the current booking draft.

    View tool JSON
    {
      "name": "set_contact",
      "kind": "act",
      "impl": "imperative",
      "description": "Fill phone and email on the current booking draft.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "phone": {
            "type": "string",
            "description": "10-digit mobile"
          },
          "email": {
            "type": "string",
            "description": "Email, optional"
          }
        },
        "required": [
          "phone"
        ],
        "additionalProperties": false
      },
      "page": "/"
    }
    set_optionsAction

    Toggle booking options on the checkout screen: meals, travel insurance, keep-together, auto-upgrade.

    View tool JSON
    {
      "name": "set_options",
      "kind": "act",
      "impl": "imperative",
      "description": "Toggle booking options on the checkout screen: meals, travel insurance, keep-together, auto-upgrade.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "addMeals": {
            "type": "boolean",
            "description": "Order meals to the seat"
          },
          "travelInsurance": {
            "type": "boolean",
            "description": "Add travel insurance"
          },
          "keepTogether": {
            "type": "boolean",
            "description": "Keep passengers in the same coach"
          },
          "autoUpgrade": {
            "type": "boolean",
            "description": "Auto-upgrade if a higher class has space"
          }
        },
        "required": [],
        "additionalProperties": false
      },
      "page": "/"
    }
    confirmAction

    Confirm the current held booking. Payment is simulated.

    View tool JSON
    {
      "name": "confirm",
      "kind": "act",
      "impl": "imperative",
      "description": "Confirm the current held booking. Payment is simulated.",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "required": [],
        "additionalProperties": false
      },
      "page": "/"
    }
    highlightAction

    Highlight a train on the map or results list.

    View tool JSON
    {
      "name": "highlight",
      "kind": "act",
      "impl": "imperative",
      "description": "Highlight a train on the map or results list.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "trainNumber": {
            "type": "string",
            "description": "Five-digit train number"
          }
        },
        "required": [
          "trainNumber"
        ],
        "additionalProperties": false
      },
      "page": "/"
    }