{"ok":true,"site":{"host":"irctcbwmi.vercel.app","url":"https://irctcbwmi.vercel.app/","type":"live","desc":"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…","tools":[{"name":"get_page_title","kind":"answer","impl":"imperative","description":"Read the title of the current page.","annotations":{"readOnlyHint":true},"inputSchema":{"type":"object","properties":{},"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/","pages":["/","/map","/trips","/pnr","/?to=AGC","/?to=CSMT"]},{"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.","annotations":{"readOnlyHint":true},"inputSchema":{"type":"object","properties":{},"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/","pages":["/","/map","/trips","/pnr","/?to=AGC","/?to=CSMT"]},{"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},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/","pages":["/","/map","/trips","/pnr","/?to=AGC","/?to=CSMT"]},{"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},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/","pages":["/","/map","/trips","/pnr","/?to=AGC","/?to=CSMT"]},{"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},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/","pages":["/","/map","/trips","/pnr","/?to=AGC","/?to=CSMT"]},{"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},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/","pages":["/","/map","/trips","/pnr","/?to=AGC","/?to=CSMT"]},{"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},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/","pages":["/","/map","/trips","/pnr","/?to=AGC","/?to=CSMT"]},{"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},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/","pages":["/","/map","/trips","/pnr","/?to=AGC","/?to=CSMT"]},{"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},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/","pages":["/","/map","/trips","/pnr","/?to=AGC","/?to=CSMT"]},{"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},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/","pages":["/","/map","/trips","/pnr","/?to=AGC","/?to=CSMT"]},{"name":"confirm","kind":"act","impl":"imperative","description":"Confirm the current held booking. Payment is simulated.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/","pages":["/","/map","/trips","/pnr","/?to=AGC","/?to=CSMT"]},{"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},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/","pages":["/","/map","/trips","/pnr","/?to=AGC","/?to=CSMT"]}],"category":"Travel & Events","favicon":"/favicons/irctcbwmi.vercel.app.png","apiSurface":"spec","toolCount":12}}