Response JSON
The MCP returns a search summary, a card list for UI rendering, and underlying result rows. That makes it usable both for direct chat widgets and downstream agent ranking.
cards[]
Best path for UI rendering. Each card includes price, route labels, and a Booking.com URL ready for click-through.
results[]
Rawer flight rows that are useful when your agent wants to rerank, summarize, or compare providers.
search
Compact route and date summary for cards, logs, and fallback summaries.
count
Immediate result cardinality without iterating the whole payload.
{
"count": 5,
"search": {
"route_label": "SEA → BCN",
"date_label": "Nov 11 - Nov 17",
"search_url": "https://www.booking.com/flights/..."
},
"cards": [
{
"id": "booking-flight-card-1",
"price_display": "$666",
"route_label": "SEA → BCN",
"booking_url": "https://www.booking.com/flights/..."
}
],
"results": [
{
"price_display": "$666",
"segments": [],
"booking_url": "https://www.booking.com/flights/..."
}
]
}