Get locked hotel rate
get_prebooks_prebookidFetch hotel prebooking details by prebookId, including final price, cancellation terms, room details, and checkout URL for payment and confirmation on MAQAMI.
Instructions
Retrieve a hotel prebook by its prebookId: final price, cancellation terms, room details and the checkoutUrl (https://book.maqami.co/booking?prebookId=...). Bookings are paid and confirmed only on MAQAMI's website, through the checkoutUrl.
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": {
"prebookId": "<prebookId>"
},
"name": "get_prebooks_prebookid"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prebookId | Yes | (Required) The unique identifier of the prebook session. |