Start booking a flight (stops before payment)
start_bookingRe-validates a flight against policy, fills traveler details on the airline site, and stops before payment. Returns a report of what was filled and where human needs to take over. Refuses booking if out-of-policy unless acknowledged.
Instructions
Re-validates the chosen flight against policy, then drives Google Flights through fare selection to the airline/OTA site and best-effort fills traveler details. ALWAYS stops before any payment field or purchase button — it never enters payment info or completes a purchase. Returns a report of what was filled, what wasn't, and the URL/screenshot where a human needs to take over. If the flight is out of policy, booking is refused unless acknowledgeOutOfPolicy is explicitly set to true.
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": {
"flightId": "<flightId>",
"traveler": "<traveler>"
},
"name": "start_booking"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flightId | Yes | A flight id returned by search_flights | |
| traveler | Yes | ||
| fareChoice | No | Which fare tile to pick on the airline's booking-options panel | cheapest |
| policyPath | No | ./policy.json | |
| acknowledgeOutOfPolicy | No | Must be explicitly true to proceed with a flight that fails policy checks |