checkout
Verify booking details and prepare a checkout preview. Confirm with token after reviewing total and terms; handle special rate eligibility.
Instructions
Prepare a verified checkout preview for the selected offerId. Review total, terms and guest details with the user. Only after explicit user approval call again with the returned confirmationToken. A token-only call uses the saved parameters. Changed price/terms require new approval. Government offers require governmentEligibilityConfirmed; other special rates require specialRateEligibilityConfirmed. Never retry an unknown submission outcome.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "checkout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | |||
| phone | No | ||
| rooms | No | ||
| adults | No | ||
| checkIn | No | ||
| hotelId | No | ||
| offerId | No | ||
| checkOut | No | ||
| children | No | ||
| lastName | No | ||
| roomCode | No | ||
| firstName | No | ||
| specialRequests | No | ||
| confirmationToken | No | ||
| governmentEligibilityConfirmed | No | ||
| specialRateEligibilityConfirmed | No |