Get booking
get_bookingStatus of a booking this key made: awaiting_payment (with pay_url), confirming, confirmed (confirmation number, hotel reference, voucher_url), outcome_pending, failed or cancelled (refund), plus the total, the cancellation terms and the free cancellation deadline. Needs the guest email or the booking_secret from prebook. Needs a Quub API key (this connection has none yet: use request_api_key).
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": {
"booking_id": "<booking_id>"
},
"name": "get_booking"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| booking_id | Yes | booking_id from prebook, starts with Q. | |
| guest_email | No | The guest email used for the booking. | |
| booking_secret | No | booking_secret from prebook. |