Read a captured booking page
read_pageInterprets a captured redBus or MakeMyTrip booking page and returns step-specific meaning—ranked bus options, seat maps, missing passenger details, or payment totals—for booking guidance.
Instructions
Read a booking page captured from the user's browser and return what it means for this step.
Works on redBus and MakeMyTrip. Results page: ranked bus list. Seat page: seat diagram (plus the boarding/drop points on MakeMyTrip). Points page: numbered boarding and drop points. Passenger page: what's still missing, or the booking summary to confirm. Payment page: the total, the hold time and the "Pay here" link. Nothing is stored.
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": {
"capture": "<capture>"
},
"name": "read_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| capture | Yes | Exactly the JSON the capture script returned (page_action action='capture'). | |
| sort_by | No | Results page: how to sort. | best |
| bus_type | No | Results page: what the user wants. | any |
| operator | No | Seat page: the bus's operator, for the heading. | |
| departure | No | Seat page: the bus's departure time. | |
| around_time | No | Results page: preferred departure, HH:MM. | |
| preferences | No | Seat page: window, aisle, front, back, together, lower, upper, cheapest, sleeper, seater. | |
| seats_wanted | No | Seat page: how many seats the user needs. | |
| approved_fare | No | Payment page: the fare the user confirmed. | |
| requested_seats | No | Passenger page: the seats the user chose, in the site's own numbering. |