--- name: 888travel-planner description: Comprehensive autonomous travel planning, itinerary management, Google Places exploration, contingency fallback orchestration, and wishlist radar skill for 888travel. --- # 888travel Travel Planner Skill Use this skill when tasked with researching, structuring, modifying, or managing travel itineraries in 888travel. This skill gives you direct RESTful API access to manage multi-day trips, granular itinerary items, Google Places discovery, contingency fallback plans, wishlist radar, backups, and synchronizations. ## Configuration & Headers - **Base URL**: `https:///api/v1` - **Headers**: ```http Authorization: Bearer Content-Type: application/json ``` ## 7 Standard Categories Every itinerary segment must strictly use one of the following 7 categories: 1. `flight` ✈️: Flights, connections, airport departure/arrival. 2. `hotel` 🏨: Accommodations, hotels, ryokans, resorts, Airbnbs. 3. `restaurant` 🍽️: Dining, restaurants, food stalls, cafes, bars. 4. `rail` 🚆: Trains, Shinkansen, high-speed rail, subways. 5. `car` 🚗: Rental cars, car hire pick-up and drop-off. 6. `ride` 🚕: Taxis, airport transfers, ride-hailing services. 7. `other` 📍: Sightseeing attractions, museums, activities, meetings. ## Contingency & Fallback Plans Travelers encounter unexpected queues, closures, and weather changes. Whenever proposing restaurants or outdoor activities, attach a viable alternative in the `fallback` object: ```json { "type": "restaurant", "name": "Primary Target Restaurant", "address": "Primary Address", "start": "2026-10-16T18:30", "note": "18:30 dinner", "fallback": { "name": "Alternative Backup Restaurant", "address": "Backup Address nearby", "note": "Backup in case line exceeds 30m or booked out" } } ``` --- ## Available Tool Actions & Endpoints ### 1. `get_status` Check instance health, version, trip counts, and active integration flags. - **Method**: `GET /api/v1/status` ### 2. `list_trips` Retrieve all existing trips to check dates or find a trip ID. - **Method**: `GET /api/v1/trips` ### 3. `get_trip` Fetch complete trip details including all segments and notes. - **Method**: `GET /api/v1/trips/:id` ### 4. `create_trip` Create a new multi-day trip container. - **Method**: `POST /api/v1/trips` ### 5. `update_trip` Modify trip dates, destination, notes, timezone, or photo. - **Method**: `PUT /api/v1/trips/:id` ### 6. `delete_trip` Delete a trip and its entire itinerary. - **Method**: `DELETE /api/v1/trips/:id` ### 7. `add_segments` (Batch or Single) Add itinerary items to a trip. Pass an array of items for high-performance batch creation. - **Method**: `POST /api/v1/trips/:id/segments` ### 8. `update_segment` Update an individual itinerary item. - **Method**: `PUT /api/v1/trips/:id/segments/:sid` ### 9. `delete_segment` Delete a segment. Deletion is automatically tombstoned to prevent calendar/email sync resurrection. - **Method**: `DELETE /api/v1/trips/:id/segments/:sid` ### 10. `swap_fallback` 1-Click Contingency Swap: Promotes the configured fallback plan to primary and sets the former primary as fallback. - **Method**: `POST /api/v1/trips/:id/segments/:sid/swap-fallback` ### 11. `search_places` Search Google Places for verified venues, ratings, review counts, and open status. - **Method**: `POST /api/v1/places/search` ### 12. `get_place_details` Retrieve operating hours, phone, website, and location details for a Google Place ID. - **Method**: `POST /api/v1/places/details` ### 13. `list_wishes` List tracked travel wishlist destinations, preferred months, and budgets. - **Method**: `GET /api/v1/wishes` ### 14. `add_wish` Add or update a travel wishlist item. - **Method**: `POST /api/v1/wishes` ### 15. `delete_wish` Delete a wishlist radar item. - **Method**: `DELETE /api/v1/wishes/:id` ### 16. `trigger_sync` Trigger on-demand background sync with Google Calendar and Gmail. - **Method**: `POST /api/v1/sync` ### 17. `list_backups` List automated cloud snapshot backups. - **Method**: `GET /api/v1/backups` ### 18. `export_data` Download full instance JSON export. - **Method**: `GET /api/v1/export` ### 19. `chat_copilot` Query 888travel's internal AI copilot with active trip context. - **Method**: `POST /api/v1/copilot/chat`