manage-booking
manage-booking
Retrieve the current state of an existing booking. Read-only — no changes are made.
When to use
- "What's the status of booking BK_2026_05_001?"
- "Show me my reservation"
- "Did my booking go through?"
- "When do I check in?"
If the user wants to cancel, use the cancel-booking skill instead.
Prerequisites
You need:
- A
bookingId(returned when the booking was created) - The last name on the booking, used as a verification check
- The email used at booking time, also used as a verification check
If the user doesn't have the booking ID, ask them to find their confirmation email. Don't guess.
How to call
npx @tvl-justin/travel-cli@latest manage-booking \
--booking-id "<bookingId>" \
--last-name "<lastName>" \
--email "<email>"
Output
{
"bookingId": "BK_2026_05_001",
"status": "CONFIRMED",
"hotelName": "Park Hyatt Tokyo",
"address": "3-7-1-2 Nishi Shinjuku, Tokyo",
"checkIn": "2026-05-01",
"checkOut": "2026-05-05",
"guestName": "Nguyen Van A",
"totalPriceUSD": 1800,
"cancellationDeadline": "2026-04-29T23:59:00Z",
"isCancellable": true
}
Presenting to the user
Give a clean overview, not the raw JSON:
Booking BK_2026_05_001 — Confirmed ✅ Park Hyatt Tokyo · 3-7-1-2 Nishi Shinjuku, Tokyo Check-in: May 1, 2026 · Check-out: May 5, 2026 Total: $1,800 (paid) Free cancellation until April 29, 2026.
Errors
404 Not Found— Booking ID not found, or last name / email doesn't match. Ask the user to double-check all three.Network error— Can't reach the API. Tell the user and offer to retry.
More from justintravala/travel-skills
search-hotel
Search for hotels by location and dates. Use this skill whenever the user wants to find a place to stay, look for accommodation, search for hotels, or asks questions like "find me a hotel in X", "where can I stay in Y", "show me hotels near Z", or provides a destination plus check-in/check-out dates. Always use this skill before book-hotel or search-room since those require a sessionId from this search.
14book-hotel
Book a hotel package and pay with USDC via the x402 payment protocol. Use this skill when the user explicitly wants to confirm and pay for a hotel — phrases like "book it", "reserve hotel #2", "go ahead and book the Park Hyatt", "confirm my reservation", "pay for this hotel". This is a real-money on-chain action; always confirm with the user before calling, run search-hotel or search-room first to get a valid packageId, and ensure the user has an authenticated wallet with sufficient USDC.
14search-room
Get room types and rate packages for a specific hotel. Use this skill after search-hotel when the user wants to explore room options, see different rate plans, compare meal plans (breakfast included vs not), check refundability, or pick a specific room before booking. Triggers on phrases like "show me the rooms at hotel X", "what room types are available", "I want a different rate plan", "is breakfast included".
13cancel-booking
Cancel an existing hotel booking. Use this skill when the user explicitly wants to cancel their reservation — phrases like "cancel my booking", "cancel reservation BK_xxx", "I don't need the hotel anymore", "refund my booking". This is a destructive action; always confirm with the user before calling, and warn if the cancellation is past the free-cancellation deadline.
13pay-and-book
>
8