تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

tripgenie-skill

بواسطة marsqing

DevOps & Cloud
—لم يُقيَّم بعد
تقييمك

موجز

TripGenie skill — handles hotel booking, flight search, attraction recommendation and travel consultation.

الوصف

ما الذي تفعله هذه المهارة

TripGenie connects to Trip.com's travel API to handle hotel booking, flight search, attraction recommendations, and itinerary planning. It passes user queries directly to the TripGenie API and returns the response as-is, including prices, availability, and booking links.

Unlike generic AI travel advice, TripGenie returns live pricing and availability data directly from Trip.com Group, so results reflect current inventory rather than static knowledge.

متى تستخدمها

  • Book a hotel room in a specific city for tonight
  • Search for flights between two destinations on a given date
  • Get attraction recommendations for an upcoming trip
  • Plan a multi-day itinerary for a family vacation
  • Find business class tickets with real-time pricing

مثال على سير العمل

الإدخال

User asks: Search flights from Beijing to Shanghai tomorrow

الوكيل
  1. 1

    TripGenie skill is triggered by flight search pattern

  2. 2

    Sends POST request to TripGenie API with user query and API token

  3. 3

    API returns flight options with prices, schedules, and booking links

  4. 4

    Full API response is forwarded to the user without summarization

الإخراج

A markdown-formatted list of available flights with prices, departure times, and booking links

المتطلبات

  • TRIPGENIE_API_KEY environment variable — obtain from www.trip.com/tripgenie/openclaw

التثبيت

clawhub install marsqing/tripgenie-skill

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط