Skip to main content

Core Tool Matrix


1. getHotelSearchTags — Fetch Search Tags

Description

Retrieves all enabled hotel filter tags.

Input Parameters

None.

Output


2. searchHotels — Search Hotels Worldwide

Description

Performs an initial global hotel search within a specified area based on filter criteria, returning candidate hotels and estimated lowest retail prices with real-time currency conversion.

Input Parameters (Complete field list 📋)

Output

Top-Level Fields

hotelInformationList[] Hotel Data Structure


3. getHotelDetail — Get Hotel Details & Room Rate Plans

Description

Queries all sellable room types for a specific hotel, average per-night rates, and cancellation/modification rules. Supports server-side structured room filtering by meal and cancellation terms.

Input Parameters (Complete field list 📋)

hotelId and name are mutually exclusive; hotelId is preferred for high-precision matching.

Multilingual Filter Compatibility Matrix

Output

Top-Level Fields

miniProgramInfo Structure & Channel Forms Matrix

roomRatePlans[] Rate Plan Sub-object


4. hotelPriceConfirm — Real-Time Price Verification & Locking

Description

Locks in the final real-time price and room status for the selected room type, generating the booking reference tracking number referenceNo. Lock validity is 30 minutes. Also returns intelligent guest profile bundle (guestProfile) for seamless form prefilling.

Input Parameters (Complete field list 📋)

Both dateParam and occupancyDetails are required.

Output (Complete field list 📋)


5. createHotelBookingWithPaymentURL — Create Order with Payment URL

Description

Submits guest and contact details to generate an active booking order and retrieve cashier payment information. Based on the client host environment (Web / Browser vs. WeChat / Mini Program), the system returns one of two mutually exclusive payment fields:
  1. paymentUrl: Web payment URL, directly opened in browser to complete checkout;
  2. miniProgramPayInfo: Mini Program payment object, directly launching the native WeChat Mini Program cashier in Mini Program or native APP environments.
  • Strict Mutual Exclusivity: Only the field matching the current client environment is returned; the other is completely omitted from the response;
  • Non-Pending State Returns null: If an order is paid, cancelled, or expired, the configured payment field is retained and set to null.

Input Parameters (Complete field list 📋)

Output (Complete field list 📋)

Response Examples

Example 1: Web Link Payment (paymentUrl returned)
Example 2: Mini Program Payment (miniProgramPayInfo returned)

6. searchHotelOrders — Query Hotel Orders List

Description

Fetches a lightweight summary list of hotel orders for the current user to prevent LLM context bloating.

Input Parameters

Output

Top-Level Fields

orderList[] Order Summary Object

(Streamlined version, preserving core fields for list rendering and LLM coarse filtering)

7. getHotelOrderDetail — Query Hotel Order Detail

Description

Fetches complete structured details for a specific order for check-in verification, map navigation, pending payment, and receipts.

Input Parameters

Output

Top-Level Fields

orderDetail Detail Object


8. preCancelHotelBooking — Pre-Cancel Booking & Penalty Quote

Description

Pre-cancels a hotel booking to calculate applicable cancellation penalties and obtain a 10-minute valid confirmation voucher confirmId. This tool must always be called before confirmCancelHotelBooking.
  • Operation Hints: readOnlyHint: true, destructiveHint: false

Input Parameters

Output

message Multilingual Dynamic Matrix

Customer Service Specification: Phone: 0755-36847480 / +852 30023293; Email is strictly segregated by business line: Hotel service uses cs.hotel@rollinggo.cn (Flight service uses cs.flight@rollinggo.cn).

Example Output ①: Free Cancellation Available (English)

Example Output ②: Non-Refundable / Penalty Incurred (English)


9. confirmCancelHotelBooking — Confirm & Execute Cancellation

Description

Executes the irreversible final cancellation of a hotel booking using confirmId and bookingId obtained from preCancelHotelBooking. Explicit user confirmation is required prior to calling.
  • Operation Hints: readOnlyHint: false, destructiveHint: true, idempotentHint: true

Input Parameters

Output

message Multilingual Rules

  • Chinese (zh-CN): “订单 ${orderNo} 已成功取消。”
  • English (en): "Booking ${orderNo} has been successfully cancelled."
  • Japanese (ja): "予約 ${orderNo} のキャンセルが完了しました。"

Example Output


10. getHotelStaticInfo — Query Hotel Static Information

Description

Queries hotel static information, including basic details, physical location, policies, amenities, images, and tags. Supports on-demand category filtering via categories.
  • Operation Hints: readOnlyHint: true, destructiveHint: false, idempotentHint: true

Input Parameters (Complete field list 📋)

Either hotelId or name is required; if both are provided, hotelId takes precedence.

Output

Top-Level Fields

hotelStaticInfo Detailed Field Breakdown (All 6 Modules)

Example Output ①: Full Payload (Default or categories: ["all"])

Example Output ②: Filtered Categories (categories: ["policy", "facilities"])


11. Unified Error Codes & Exception Mapping


Maintained by: RollingGo Open Platform Engineering Team
Last Updated: 2026-11-02
Last modified on November 2, 2026