Get bus details
get_bus_detailsShows the Bus Details sheet for one trip from search_buses: amenities (iconified), pickup and dropping points with times, cancellation-policy slabs, rating, and a Book on Paytm Checkin CTA. This is the source for amenities, boarding/dropping points, cancellation policy, or details for a specific bus, including a tap on a bus card in the widget. The tripRef from the card is enough, without a new search_buses call. Required: trip_ref, the opaque tripRef from the prior search_buses card, matched exactly. Optional: summary (the card's AI summary line) and booking_url (the card's Paytm hand-off link). No seat map or payment in chat — booking continues on Paytm Checkin.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| summary | No | Optional AI summary line already shown on the card footer — forwarded so the details sheet can show the same line (Figma). | |
| trip_ref | Yes | Opaque trip token from search_buses (`tripRef` on each card). | |
| booking_url | No | Optional Paytm Checkin seat URL from the search card (dweb). | |
| booking_deeplink | No | Optional H5/mweb/app deeplink (`paytmtr://bus-seat`). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rating | No | ||
| busType | No | ||
| summary | No | ||
| tripRef | Yes | ||
| currency | No | INR | |
| operator | No | ||
| amenities | No | ||
| seatsLeft | No | ||
| bookingUrl | No | ||
| ratingCount | No | ||
| boardingPoints | No | ||
| droppingPoints | No | ||
| bookingDeeplink | No | ||
| cancellationNote | No | ||
| ratingCountLabel | No | ||
| cancellationPolicy | No | ||
| cancellationSummary | No |