← EngineCONTENT HISTORY

Update to Engine

Snapshot Nov 28, 2026 · 18:20 UTC · version 0.1.2

Collection source: downloaded plugin package.

WHAT CHANGED

First saved snapshot

No earlier snapshot is available to establish a change.

Save Engine and check future changes in Following.

Up to 3 plugins free · no card required.

Compare saved observations

Download comparison JSON
Full technical diff · 0 changed fields
Full snapshot data
{
  "description": "Search for hotels and book a stay for the signed-in Engine member. Use when the user wants to find places to stay, compare hotel rates, or book a room. Covers destination lookup, in-policy search, live rates, cart creation, company booking fields, saved payment methods, confirmation, and booking. Do not use for flights, cars, listing all trips, booking for someone else, or changing an existing booking.",
  "included_files": [],
  "name": "book-a-stay",
  "skill_md_contents": "---\nname: book-a-stay\ndescription: Search for hotels and book a stay for the signed-in Engine member. Use when the user wants to find places to stay, compare hotel rates, or book a room. Covers destination lookup, in-policy search, live rates, cart creation, company booking fields, saved payment methods, confirmation, and booking. Do not use for flights, cars, listing all trips, booking for someone else, or changing an existing booking.\n---\n\n# Book a stay\n\nUse this skill to find hotels and book a stay for the signed-in Engine member. Today this plugin books hotels only.\n\n## Before you search\n\n1. Call `lodging_get_current_user` and tell the user the stay will be booked in their name. Do not ask who is traveling.\n2. You need a location, check-in date, and check-out date. Use 1 room and 1 guest unless the user asks for more. Do not ask them to fill those in.\n3. If they give relative dates and you do not know the current date, ask for the full date, including the year. Do not guess the year.\n4. If they ask for 9 or more rooms, or more than 14 guests, stop. Tell them this chat can search up to 8 rooms and 14 guests, and that larger blocks are handled in Engine Groups. Give a `_handoff` link only if a tool returned one. Do not invent a URL.\n5. Saved favorites and phrases like \"the office\" are not supported. Ask for a city, address, ZIP, venue, or landmark.\n6. Never request, infer, or guess the user's precise device or GPS location. For \"near me,\" use only a coarse city or area the client already shares. If you do not have that, ask for a city or area.\n\n## Find properties\n\n1. Call `lodging_resolve_destination` with the place they named. It may return up to three predictions and a `sessionToken`. If the place is clear, call again with that prediction's `placeId` and the `sessionToken` (the prediction's `_links` are prefilled). If several could match, ask which one. If none match, ask for a new query.\n2. When the place is itself a hotel, `place.requestedProperty` names it. Send that object unchanged to `lodging_search_properties` so that property is pinned at `results[0]`.\n3. Call `lodging_search_properties` with the place's `latitude`, `longitude`, and `locationDescription`, plus the dates, `guestCount`, and `roomCount`. Pass `types`, `locationId` (`placeId`), and `locationKind` from the resolved place when they are present. Omit them when they are absent. Omit `radiusMiles` unless a search returned nothing; the maximum is 50.\n4. Search returns at most 10 available, in-policy properties, in Engine's recommendation order. Do not show rank numbers or scores. Present the top 3 first as numbered text entries, not a table, and offer to narrow the list. If the user has a budget or other filter, filter the rows you already have. Do not run a new search unless the dates, location, guest count, or room count change.\n5. Each entry should lead with the hotel name, star rating, and brand; then the nightly base price before taxes and fees, any nightly saving when `price.saveAmount` is present, and the stay total including taxes and fees; then guest rating and review count, whether refundable rates are available, up to 2 primary amenities, and the city. Show distance only when `criteria.locationKind` is `address`.\n6. Out-of-policy properties are omitted. Mention `outOfPolicyCount` only if the user asks about a missing property or wants out-of-policy options, then give `_handoff.open_search_in_engine`. `hiddenInPolicyCount` means in-policy properties were cut by the row limit, not that they are unavailable.\n7. If they named a specific hotel, trust `requestedProperty.status`. Do not call it unavailable unless that field says so.\n8. If the response includes `noResultsReason` of `international_restricted`, tell the user what `notice` says. Do not retry.\n9. Search can take 5 to 10 seconds. Wait for the result. Do not immediately run the same search again.\n\n## Get rates\n\n1. When the user picks a property, follow that row's `_links.lodging_get_property_availability`. Pass `roomOffersToken` and the search criteria exactly as returned.\n2. Rates come back as at most 5 room types, in-policy first, then cheapest first. A refundable rate is included when the property has one. `roomTypesTotal` is how many room types the property has. Give `_handoff.open_property_in_engine` if they want to see all of them.\n3. Show rates as one numbered text list, not a table. Use each rate's `index` as the number. If a room has several rates, repeat the room title. If the user picks \"3\" or \"the 3rd one,\" that means the rate whose `index` is 3.\n4. Each rate has a `policy` of `allowed`, `requires_approval`, or `blocked`. Only `allowed` rates have `_links.lodging_create_cart`. For `requires_approval` or `blocked` rates, give the `_handoff` link. Those rates cannot be booked here.\n\n## Create the cart\n\n1. As soon as the user picks an allowed rate, call `lodging_create_cart` from that rate's `_links.lodging_create_cart`. Pass `rateToken`, `rate`, `roomTitle`, and `criteria` unchanged. This step charges nothing.\n2. If `lodging_create_cart` returns an unclassified `action_failed` without a structured reason, retry the exact same body at most once. Do not refresh the search or substitute another rate. If the retry fails the same way, stop and say that no cart, booking, or charge was created. Give any `_handoff` from the error; otherwise give the latest property handoff when available. Retry again only when the user explicitly asks.\n3. If the price went up, the tool returns `price_changed` with the new total, what is due now, and what is paid at the property. Tell the user those amounts. Call this tool once more with the same body and the same `rateToken` only if they accept. Do not fetch fresh rates to retry.\n4. If the result is `room_offers_expired`, the room-offer token is stale. Give the returned property `_handoff` link with any retry. Resolve the same destination again, rerun `lodging_search_properties` with the same criteria, select the same `propertyId`, and call `lodging_get_property_availability` with its fresh link. Match the selected rate by room title, bed type, refundability, `allowed` policy, and rate features—not by `index`, which may change. If no unique semantic match remains, show the fresh rates and ask the user to choose. If the matched rate's price or cancellation terms changed, show the changes and ask the user to accept them before creating a cart. Never reuse an expired `roomOffersToken` or `rateToken`.\n5. If the result is `rate_policy_blocked`, do not retry. Give the user the property `_handoff` link.\n6. If the cart says that more than one room or guest must finish in Engine, give `_handoff.finish_in_engine` and do not call `lodging_book_cart`.\n7. Show the cart total, taxes, and cancellation terms (`summary.refundable`, `summary.cancelBy`, `summary.cancellationPolicy`). `roomTitle` is the room. `ratePlanName` is the supplier's rate-plan label, not the room.\n\n## Company booking fields\n\n1. If `lodging_create_cart` returns `customFields.fields`, collect an answer for every field whose `required` value is true. Optional fields may be omitted when the user does not provide an answer.\n2. Use only the field IDs returned for this cart. Never invent an ID or reuse an ID or answer from another cart.\n3. For a dropdown field, accept only a value that exactly matches one of the returned options. If the user's answer does not match, show the allowed options and ask them to choose one. Do not guess, normalize, or silently substitute a value.\n4. For a text field, enforce every returned length rule. If the value is too long or otherwise invalid, state the constraint and ask for a corrected value.\n5. If the user gives several answers together, validate each independently and keep the valid answers while asking only for corrections or missing required fields.\n6. After all required answers are valid, continue to payment. Do not hand off merely because required custom fields exist. If valid required answers cannot be obtained, or a tool explicitly says checkout must finish in Engine, give `_handoff.finish_in_engine` and stop.\n7. Pass the final field ID/value pairs unchanged as `customFieldValues` to `lodging_book_cart`. Omit unanswered optional fields.\n\n## Payment and confirmation\n\n1. Call `lodging_list_payment_methods` with the `cartId`. Propose `recommendedId` when it is set. Confirm the method with the user.\n2. At most 10 cards are listed. If `hiddenCardCount` is set, more methods can be chosen in Engine through `_handoff.finish_in_engine`.\n3. If no method is usable, give `_handoff.finish_in_engine` when it is present. Never accept a card number.\n4. The user must see the total and the cart's cancellation terms before they confirm. If `summary.refundable` is null, give `_handoff.finish_in_engine` so they can review the terms in Engine first.\n5. Call `lodging_book_cart` only after they explicitly say yes to that exact cart, total, and payment method. Set `userConfirmed` to true, set `confirmedTotal` to the total you showed them, and include the validated `customFieldValues` when present.\n\n## After you book\n\n- A confirmed booking returns `lodgingBookingNumber`, an itinerary link, and a summary. Give the user the confirmation number and the itinerary link exactly as returned.\n- Every other answer is an error with `_handoff` links. Give those links to the user.\n- If the outcome is unknown or still in progress (`booking_outcome_unknown` or `booking_in_progress`), do not create a new cart. Give the trips or itinerary `_handoff` so they can check trips. You may call `lodging_get_booking_status` with the `cartId` from that response. Follow `state` and `next`. If `state` is `in_progress`, it may already be booked; do not book again.\n- After `booking_rejected` or `cart_not_open`, do not call `lodging_book_cart` again.\n- After `payment_failed`, or after `lodging_get_booking_status` returns `not_booked_retryable`, nothing was charged. List payment methods for the same cart, and book again only after the user picks a method and confirms the total again.\n- After `total_changed`, `booking_cancelled`, or a direct-bill refusal that offers a card, nothing was sent. Book the same cart again only after the user confirms the new total and payment method.\n- Create a new cart for the same stay only when the error is `cart_expired`.\n\n## Handoff and tokens\n\nGive every `_handoff` href exactly as returned, including every query parameter. Do not build, rewrite, or edit Engine links. Pass tokens and prefilled link bodies unchanged.\n"
}

SHA-256 of public snapshot: 64da2b7741e6a9dd3c8414ff2e75750c2cb5f9c165c0af90ffb5a76238c2a40c