Check booking details before payment
booking_summaryVerifies a filled-in bus booking before payment—seats, passengers, contact, add-ons, and total fare—then returns a summary for user confirmation.
Instructions
Check a filled-in booking on the official site before the user pays.
Verifies the page is a real booking site, that seats match what the user asked, that every seat has one passenger with a valid name/age/gender (and respects women/men-only seats), the mobile and email, and that the total has no surprise add-ons. Returns a short summary; open payment only after the user replies "confirm" to it. Nothing is booked, paid or stored by this tool.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"page_url": "<page_url>",
"operator": "<operator>",
"origin": "<origin>",
"destination": "<destination>",
"travel_date": "<travel_date>",
"departure": "<departure>",
"seats": "<seats>",
"passengers": "<passengers>",
"contact_mobile": "<contact_mobile>"
},
"name": "booking_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seats | Yes | Seat numbers selected on the page. | |
| origin | Yes | From city. | |
| add_ons | No | Paid extras the user chose on the page, with price, e.g. 'Free Cancellation ₹140'. Empty if none. | |
| operator | Yes | Operator as shown on the checkout page. | |
| page_url | Yes | Address of the checkout page currently open. | |
| departure | Yes | Departure time, HH:MM. | |
| passengers | Yes | Passengers as typed on the page, one per seat. | |
| total_fare | No | Total amount shown before payment, rupees. | |
| destination | Yes | To city. | |
| seat_prices | No | Price of each selected seat, same order as seats. | |
| travel_date | Yes | Travel date, YYYY-MM-DD. | |
| contact_email | No | Email entered, if any. | |
| boarding_point | No | Boarding point chosen. | |
| contact_mobile | Yes | Mobile number entered on the page. | |
| dropping_point | No | Dropping point chosen. | |
| requested_seats | No | Seat numbers the user asked for in chat. | |
| seat_reserved_for | No | Per selected seat: 'female', 'male' or ''. |