Reference
Chloe tool reference
Version 1.3.2 (fingerprint 1db3a339809a). 46 tools.
Every tool the Dyme MCP server (https://mcp.dyme.earth/api/mcp) shows a connected assistant, read from the live server at 2026-11-27T21:47:59.831Z. Machine-readable: https://mcp.dyme.earth/docs/tools.json
Hotels
compare_rate_plans
Rate plans at one hotel. Reads only. 2 points a call.
Shows what each rate plan at one hotel adds, such as breakfast, free cancellation or a bigger room.
| Argument | Type | Required | Meaning |
|---|---|---|---|
trip_id | string | Yes | The trip_id from search_hotels |
hotel_id | string | Yes | The hotel_id from that search |
find_hotel
Find a specific hotel by name. Reads only. 1 point a call.
Finds one hotel by its name.
| Argument | Type | Required | Meaning |
|---|---|---|---|
name | string | Yes | The hotel's name, e.g. 'Stow Away Waterloo' or 'The Savoy' |
city | string | No | City it is in, when known. It makes the match faster and surer |
get_hotel_details
Get hotel details. Reads only. 2 points a call. Drawn as a card.
Shows one hotel in full: photos, amenities, description, sustainability details and the neighborhood.
| Argument | Type | Required | Meaning |
|---|---|---|---|
hotel_id | string | Yes | The hotel_id shown in a search_hotels result, e.g. 'lp95b56'. A Dyme hotel slug (e.g. 'lisbon-esqina-cosmopolitan-lodge') is also accepted. |
checkin | string | No | Check-in YYYY-MM-DD; include it so the booking link is dated |
checkout | string | No | Check-out YYYY-MM-DD |
adults | integer | No | Adults (default 2) |
children | array of integer | No | Child ages, e.g. [4, 9] |
personal | boolean | No | Set true ONLY when the traveler says this trip is their own rather than their employer's: 'this one's personal', 'I'm paying for this myself', 'not a work trip'. It drops the company policy, the company's picks, and any company attribution on the booking, and it is carried through to checkout on every link returned. Leave it out otherwise: absent means the trip belongs to their company, which is the safe default and the only one a member can undo later. Never set it to make results look better, and never set it for someone who has no company, because it changes nothing for them. |
trip_id | string | No | The trip_id from the search_hotels result this hotel came from |
get_hotel_rates
Get room types and rates. Reads only. 2 points a call. Drawn as a card.
Lists a hotel's rooms and rates for given dates, with a booking link for each.
| Argument | Type | Required | Meaning |
|---|---|---|---|
hotel_id | string | Yes | The hotel_id shown in a search_hotels result, e.g. 'lp95b56'. A Dyme hotel slug is accepted too, but pass the lp id when you have it, because the per-rate booking links need it. |
hotel_name | string | No | The hotel's name, so the booking page can show it while it loads |
checkin | string | Yes | Check-in YYYY-MM-DD |
checkout | string | Yes | Check-out YYYY-MM-DD |
adults | integer | No | Adults (default 2) |
children | array of integer | No | Child ages, e.g. [4, 9] |
currency | string | No | ISO currency for prices: the traveler's own where you know it, otherwise US dollars. |
guest_nationality | string | No | ISO-2 country the guest is resident in, e.g. 'GB'. Some rates are restricted by residency; leave it out and the supplier assumes US. |
max_rooms | integer | No | How many room types to show (default 5) |
trip_id | string | No | The trip_id from the search_hotels result this hotel came from. Pass it whenever you have one: on a work trip, rooms come back without Book links unless that search's verdict says the hotel can be booked. |
personal | boolean | No | Set true ONLY when the traveler says this trip is their own rather than their employer's: 'this one's personal', 'I'm paying for this myself', 'not a work trip'. It drops the company policy, the company's picks, and any company attribution on the booking, and it is carried through to checkout on every link returned. Leave it out otherwise: absent means the trip belongs to their company, which is the safe default and the only one a member can undo later. Never set it to make results look better, and never set it for someone who has no company, because it changes nothing for them. |
get_hotel_reviews
Get guest reviews. Reads only. 2 points a call.
Returns guest reviews for a hotel.
| Argument | Type | Required | Meaning |
|---|---|---|---|
hotel_id | string | Yes | The hotel_id shown in a search_hotels result, e.g. 'lp95b56'. A Dyme hotel slug is also accepted. |
hotel_name | string | No | The hotel's name, so the summary can be labelled |
hotel_date_options
Hotels on nearby dates. Reads only. 20 points a call.
Prices the same hotel stay on nearby start dates.
| Argument | Type | Required | Meaning |
|---|---|---|---|
destination | string | Yes | The same named place as the search |
near | string | No | The same exact place as the search, if it had one |
checkin | string | Yes | The middle check-in date, YYYY-MM-DD |
checkout | string | Yes | Its check-out date; the number of nights stays the same |
days_either_side | integer | No | How many days earlier and later to try (default 3, at most 5) |
adults | integer | No | Adults staying; 2 when not said |
children | array of integer | No | Child ages |
currency | string | No | ISO currency code for the prices, the one the traveler thinks in |
min_stars | integer | No | Lowest star rating to include |
min_rating | number | No | Lowest guest rating out of 10 to include |
max_price_per_night | number | No | Highest nightly price to include, in the currency |
meal_plan | array of "breakfast" | "half_board" | "full_board" | "all_inclusive" | "room_only" | No | Board the rate must include |
free_cancellation_only | boolean | No | Only rates that can be canceled free |
must_haves | array of string | No | The same must-haves as the search |
personal | boolean | No | Set true ONLY when the traveler says this trip is their own rather than their employer's: 'this one's personal', 'I'm paying for this myself', 'not a work trip'. It drops the company policy, the company's picks, and any company attribution on the booking, and it is carried through to checkout on every link returned. Leave it out otherwise: absent means the trip belongs to their company, which is the safe default and the only one a member can undo later. Never set it to make results look better, and never set it for someone who has no company, because it changes nothing for them. |
refine_hotels
Refine a previous hotel search. Reads only. 0 points a call. Drawn as a card.
Narrows or re-sorts an earlier hotel search by price, stars, rating, free cancellation or name, without searching again.
| Argument | Type | Required | Meaning |
|---|---|---|---|
trip_id | string | Yes | The trip_id from a prior search_hotels call |
min_stars | integer | No | Minimum stars |
min_rating | number | No | Minimum guest score (0-10) |
max_price_per_night | number | No | Max nightly price |
free_cancellation | boolean | No | Only free-cancellation hotels |
hotel_name | string | No | Only hotels whose name contains this text |
sort | "cheapest" | "closest" | "rating" | "stars" | No | Re-sort the matching hotels |
max_results | integer | No | Max to return (default 5) |
personal | boolean | No | Only ever a CONFIRMATION that the original search was personal. A refine narrows what that search already found and cannot change whose trip it is, so setting this on a work search is refused and tells you to search again with personal: true. |
resolve_place
Find a destination. Reads only. 1 point a call.
Turns a place name into a destination Dyme can search.
| Argument | Type | Required | Meaning |
|---|---|---|---|
query | string | Yes | What the traveler said, e.g. 'somewhere near times square' |
search_hotels
Search hotels on Dyme. Reads only. 5 points a call. Drawn as a card.
Searches hotels near a place for given dates and guests, with live prices, photos, ratings, distance and cancellation terms.
| Argument | Type | Required | Meaning |
|---|---|---|---|
destination | string | Yes | A REAL, NAMED place and nothing else: 'Lisbon', 'Santa Monica', 'Miami Beach', 'Bondi Beach', 'Times Square, New York', 'Third Space Marylebone'. Beaches, districts, venues and landmarks all resolve. A description is refused: not 'beach hotels in Cancun', not 'near the airport', not 'cheap hotels Lisbon'. Measured: 'Santa Monica' finds 36 hotels, 'Los Angeles beach' finds none. |
near | string | No | The exact place the traveler wants to be close to, by name: a gym, office, venue, station or landmark ('Third Space Marylebone', 'Moscone Center'). Hotels are then ranked by distance from it, with `destination` as the city or area it is in. Same as sending that place as `destination`; leave it out when there is no such place. |
checkin | string | Yes | Check-in date YYYY-MM-DD |
checkout | string | Yes | Check-out date YYYY-MM-DD |
adults | integer | No | Adults (default 2) |
children | array of integer | No | Child ages, e.g. [4, 9] (omit if none) |
min_stars | integer | No | Minimum star rating |
min_rating | number | No | Minimum guest score out of 10, applied by the search, not after it |
max_price_per_night | number | No | Max nightly price (in the search currency) |
currency | string | No | ISO currency for prices. Pass the currency the traveler thinks in, worked out from where they live or are now, or the currency they have used with you (GBP in the UK, EUR in the euro area, AED in the UAE); never from where the trip starts or ends, since an American flying from Delhi still thinks in dollars. Leave it out only when you have nothing to go on, and then prices come back in US dollars and you say so. |
hotel_name | string | No | Only hotels whose name contains this text |
amenities | array of "wifi" | "free_wifi" | "pool" | "gym" | "spa" | "breakfast" | "free_breakfast" | "parking" | "free_parking" | "pets" | "airport_shuttle" | "restaurant" | "bar" | "room_service" | "air_conditioning" | "elevator" | "concierge" | "beach" | "laundry" | "twenty_four_hour_front_desk" | No | Facilities the hotel must have. ONLY these names work: an amenity outside this list cannot be filtered on; put anything else in `preferences`. |
preferences | array of string | No | Wishes that are neither a place nor a filter above: 'romantic', 'quiet', 'boutique', 'walkable', 'good for a conference'. Never put a place here ('near the beach' is a place: name it) and never put a filter here ('pool' is an amenity). |
must_haves | array of string | No | What the traveler will not give up that no filter here can check: 'water park', 'kids club', 'adults only', 'walk to the venue'. Not filtered on: the result tells you to check each one on the hotels you recommend. Things they would merely like go in `preferences`. |
meal_plan | array of "breakfast" | "half_board" | "full_board" | "all_inclusive" | "room_only" | No | Only hotels whose quoted rate includes this board |
free_cancellation_only | boolean | No | Only hotels whose quoted rate can be canceled. Applied by the search, so the results are a full set of refundable options rather than a filtered handful. |
min_reviews | integer | No | Review-count floor, which weeds out properties with a 10/10 from four guests |
radius_km | number | No | How far from the resolved point to look, in km. The search picks a sensible width on its own; set this only when the traveler names a distance ('within a mile of the Colosseum'). Minimum 1 km. |
guest_nationality | string | No | Traveler's country as ISO-2 ('GB'). Some rates are sold only to certain residents. |
sort_by | "distance" | "price" | "rating" | "stars" | No | How the search should rank (default: distance from the resolved point) |
rooms | any | No | Several rooms with different occupancies, e.g. 'two rooms, two adults in one and two adults plus a 6-year-old in the other'. One entry per room, never a count. Replaces adults/children when set. |
max_results | integer | No | How many to show (default 4) |
personal | boolean | No | Set true ONLY when the traveler says this trip is their own rather than their employer's: 'this one's personal', 'I'm paying for this myself', 'not a work trip'. It drops the company policy, the company's picks, and any company attribution on the booking, and it is carried through to checkout on every link returned. Leave it out otherwise: absent means the trip belongs to their company, which is the safe default and the only one a member can undo later. Never set it to make results look better, and never set it for someone who has no company, because it changes nothing for them. |
Flights
airline_facts
An airline's alliance. Reads only. 0 points a call.
Says which alliance an airline belongs to.
| Argument | Type | Required | Meaning |
|---|---|---|---|
airline | string | Yes | IATA code or name |
compare_fare_options
Fares on the same flights. Reads only. 5 points a call.
Shows every fare sold on the same flights, with bags, change and refund terms.
| Argument | Type | Required | Meaning |
|---|---|---|---|
trip_id | string | Yes | The trip_id from search_flights |
offer_id | string | Yes | The offer_id of the flights they are looking at |
flight_numbers | array of string | No | The flights' numbers in order ('AA 2614'). Send these WITH the offer_id; they still find the fare when the offer_id has gone stale |
compare_routings
Stopovers and cheaper starting points. Reads only. 25 points a call.
Prices stopovers and starting from a nearby airport.
| Argument | Type | Required | Meaning |
|---|---|---|---|
from | string | Yes | IATA airport or city code, e.g. LHR; resolve_airport finds it |
to | string | Yes | IATA airport or city code, e.g. LHR; resolve_airport finds it |
depart_date | string | Yes | YYYY-MM-DD |
via | array of string | No | Stopover cities the traveler named; the tool adds the day's cheapest connecting cities itself |
stop_nights | integer | No | Nights in the stopover city; 0 = same-day connection |
positioning_from | array of string | No | Other airports to start the long flight from |
adults | integer | Yes | Adults traveling; ask if the traveler has not said |
child_ages | array of integer | No | Each child's age |
cabin_class | "economy" | "premium_economy" | "business" | "first" | No | Cabin to price; economy when not said |
currency | string | No | The currency the traveler thinks in |
personal | boolean | No | True only when the traveler says this trip is their own, not their employer's |
airlines | array of string | No | As in search_flights: IATA codes ('LH') and/or an alliance ('Star Alliance') when the traveler names or prefers one; every search this tool runs is limited to them |
compare_ticketing
One ticket or separate tickets. Reads only. 10 points a call.
Compares one ticket with separate tickets for the same trip.
| Argument | Type | Required | Meaning |
|---|---|---|---|
flights | array of object | Yes | The flights in travel order |
adults | integer | Yes | Adults traveling; ask if the traveler has not said |
child_ages | array of integer | No | Each child's age |
cabin_class | "economy" | "premium_economy" | "business" | "first" | No | Cabin to price; economy when not said |
currency | string | No | The currency the traveler thinks in |
personal | boolean | No | True only when the traveler says this trip is their own, not their employer's |
airlines | array of string | No | As in search_flights: IATA codes ('LH') and/or an alliance ('Star Alliance') when the traveler names or prefers one; every search this tool runs is limited to them |
checked_bags_per_person | integer | No | Checked bags each traveler brings; the prices then include them on every flight, so one ticket and separate tickets compare fairly. Ask if they have not said and the trip has separate tickets. |
compare_airlines | array of string | No | To compare the same trip airline by airline in this one call ('what about Virgin or BA?'): IATA codes or alliances, e.g. ['VS','BA']. Use this rather than one call or search per airline. |
passenger_rights
What an airline owes. Reads only. 1 point a call.
Says what an airline owes a passenger when a flight is delayed or canceled.
| Argument | Type | Required | Meaning |
|---|---|---|---|
from | string | Yes | IATA airport or city code, e.g. LHR; resolve_airport finds it |
to | string | Yes | IATA airport or city code, e.g. LHR; resolve_airport finds it |
airline | string | Yes | The IATA code of the airline OPERATING the flight |
situation | "delay" | "cancellation" | "denied_boarding" | "downgrade" | "baggage_delay" | "schedule_change" | Yes | What happened to the traveler |
arrival_delay_hours | number | No | How late it reached the final destination |
departure_delay_hours | number | No | How many hours late the flight left, for a delay |
notice_days | number | No | Days before departure the airline announced a cancellation |
reroute_departed_earlier_hours | number | No | Hours earlier the replacement flight left, for a cancellation or schedule change |
reroute_arrived_later_hours | number | No | Hours later the replacement flight arrived |
change_hours | number | No | How many hours a schedule change moved the flight |
airport_changed | boolean | No | The replacement uses a different airport |
connection_added | boolean | No | The replacement adds a connection |
downgraded | boolean | No | Seated in a lower cabin than paid for |
bag_hours | number | No | Hours after landing the bag arrived |
cause | "airline" | "weather" | "air_traffic_control" | "security" | "external_strike" | "airline_staff_strike" | "unknown" | No | Why, when the airline said; unknown otherwise |
refine_flights
Refine a previous flight search. Reads only. 0 points a call. Drawn as a card.
Narrows or re-sorts an earlier flight search by stops, times, layovers, airline or price, without searching again.
| Argument | Type | Required | Meaning |
|---|---|---|---|
trip_id | string | Yes | The trip_id returned by a prior search_flights call |
nonstop | boolean | No | Only nonstop flights |
max_stops | integer | No | Most stops allowed per leg: 0 = nonstop, 1 = at most one stop. Narrows only: after a nonstop search, allowing a stop needs a new search_flights. |
max_price | number | No | Only options at or below this price PER PERSON (every fare is shown per person) |
airlines | array of string | No | Only these airlines: an IATA code ('UA') for preference, or an alliance ('Star Alliance'). Keeps options where EVERY flight is operated by them. A name is matched against the carriers in the cached results here, so it works, but the code is the form to habituate: the SEARCH takes codes only. |
exclude_airlines | array of string | No | Drop options with any flight operated by these airlines ('AI'), whatever number it is sold under. The search's own exclusions are always applied here too. |
depart_after | number | No | OUTBOUND leaves at or after this hour, 0-24 local (9.5 = 09:30) |
depart_before | number | No | OUTBOUND leaves at or before this hour, 0-24 local |
arrive_before | number | No | OUTBOUND lands at or before this hour, 0-24 local |
return_depart_after | number | No | RETURN leg leaves at or after this hour, 0-24 local. Use for 'fly back in the afternoon'. On a one-way search this matches nothing. |
return_depart_before | number | No | RETURN leg leaves at or before this hour, 0-24 local ('back around 4pm' = 17) |
return_arrive_before | number | No | RETURN leg lands at or before this hour, 0-24 local ('home by 10pm' = 22) |
max_layover_minutes | integer | No | Drop options with any connection longer than this |
min_layover_minutes | integer | No | Drop options with any connection shorter than this, for a comfortable transfer |
sort | "cheapest" | "fastest" | "recommended" | "departure" | "arrival" | No | Re-sort the matching options |
max_results | integer | No | Max options to return (default 5) |
personal | boolean | No | Only ever a CONFIRMATION that the original search was personal. A refine narrows what that search already found and cannot change whose trip it is, so setting this on a work search is refused and tells you to search again with personal: true. |
resolve_airport
Find an airport code. Reads only. 1 point a call.
Finds the airport or city code for a place.
| Argument | Type | Required | Meaning |
|---|---|---|---|
query | string | Yes | City, airport name, or code, e.g. 'heathrow' |
max_results | integer | No | How many matches to return (default 6) |
search_flights
Search flights on Dyme. Reads only. 5 points a call. Drawn as a card.
Searches one-way, round-trip and multi-city flights with live fares.
| Argument | Type | Required | Meaning |
|---|---|---|---|
from | string | Yes | Origin IATA airport code, e.g. 'SFO', or a city code for every airport in a city, e.g. 'NYC', 'LON' |
to | string | Yes | Destination IATA airport code, e.g. 'LIS', or a city code for every airport in a city, e.g. 'NYC', 'LON' |
depart_date | string | Yes | Outbound date in YYYY-MM-DD format |
flights | array of object | No | Multi-city only: every flight of the trip in date order, 2 to 4 ('SFO to LA on the 12th, on to New York on the 15th, home on the 19th' is three). Leave out return_date. Omit for one-way and round trip. |
return_date | string | No | Return date in YYYY-MM-DD. Omit for a one-way trip; include for round-trip. |
adults | integer | No | Number of adult passengers (default 1) |
children | integer | No | Number of child passengers (default 0) |
cabin_class | "economy" | "premium_economy" | "business" | "first" | No | Cabin class (default economy) |
nonstop | boolean | No | If true, return only nonstop flights |
max_stops | integer | No | Most stops allowed per leg: 0 = nonstop, 1 = at most one stop. Use this for 'no more than one connection'; it filters the search rather than the results. |
currency | string | No | ISO currency for prices. Pass the currency the traveler thinks in, worked out from where they live or are now, or the currency they have used with you (GBP in the UK, EUR in the euro area, AED in the UAE); never from where the trip starts or ends, since an American flying from Delhi still thinks in dollars. Leave it out only when you have nothing to go on, and then prices come back in US dollars and you say so. |
airlines | array of string | No | Limit the search to specific carriers. Two-character IATA airline CODES only ('UA' for United, 'LH' for Lufthansa, 'BA' for British Airways) and/or an alliance name ('Star Alliance', 'Oneworld', 'SkyTeam'). Work the code out from what the traveler said, the way you do with airport codes. An airline's name is refused, not searched. Use this whenever the traveler names one; it filters the search itself, so the alliance's own nonstop shows up even when cheaper connections would otherwise outrank it. EVERY flight of every option is operated by one of these airlines (a United number flown by Air Canada is an Air Canada flight and is dropped), so a route the airline does not fly end to end can come back empty; say so rather than widening it unasked. |
exclude_airlines | array of string | No | Carriers the traveler will NOT fly: two-character IATA codes only ('AI' for Air India). A name is refused, not searched. Combine with `airlines` for 'Star Alliance but not Air India'. Any option with a flight OPERATED by an excluded carrier is dropped, whatever airline's number it is sold under (AC 6451 is Air India's AI 111). Do NOT hand-enumerate an alliance minus one carrier; use both parameters together. Searches do not remember each other: once a traveler rules an airline out, send it here on EVERY search_flights for the rest of the conversation, whatever else the new search changes (airlines, dates, times, route). |
exclude_alliance | array of string | No | Alliances the traveler will NOT fly ('Star Alliance', 'Oneworld', 'SkyTeam'). Filtered at the search, so the results are a full set without them. |
depart_after | number | No | Leave at or after this hour, 0-24 local ('after 5pm' = 17) |
depart_before | number | No | Leave at or before this hour, 0-24 local ('a morning flight' = 12) |
arrive_after | number | No | Land at or after this hour, 0-24 local |
arrive_before | number | No | Land at or before this hour, 0-24 local ('there by dinner' = 19) |
min_layover_minutes | integer | No | Reject connections tighter than this, for a traveler who wants a buffer |
max_layover_minutes | integer | No | Reject connections longer than this ('no 12-hour layovers' = 720) |
max_duration_minutes | integer | No | Cap total journey time, outbound plus return |
refundable_only | boolean | No | Only fares that can be canceled. Narrows the search, not the display. |
airlines_only | boolean | No | True only when the traveler says ONLY or MUST for the airlines ('only United', 'it has to be Star Alliance'). Leave it out for 'prefer' or 'ideally': then the search also checks every other airline and says whether one is worth asking about. |
infants | integer | No | Infants on lap |
child_ages | array of integer | No | Ages of the children flying, preferred over `children`, which is only a count |
sort_by | "recommended" | "cheapest" | "fastest" | "earliest" | "latest" | No | How the endpoint should rank. 'recommended' (default) returns a spread of recommended/cheapest/fastest; any other value returns a straight sort. |
max_results | integer | No | Max number of options to return (default 3) |
personal | boolean | No | Set true ONLY when the traveler says this trip is their own rather than their employer's: 'this one's personal', 'I'm paying for this myself', 'not a work trip'. It drops the company policy, the company's picks, and any company attribution on the booking, and it is carried through to checkout on every link returned. Leave it out otherwise: absent means the trip belongs to their company, which is the safe default and the only one a member can undo later. Never set it to make results look better, and never set it for someone who has no company, because it changes nothing for them. |
verify_flight_offer
Check a flight fare is still available. Reads only. 1 point a call.
Checks that a fare from an earlier search is still on sale.
| Argument | Type | Required | Meaning |
|---|---|---|---|
offer_id | string | Yes | offer_id from a search_flights result |
quoted_price | number | No | The total price you were about to quote, to flag a change |
Planning and checks
check_trip_request
Read a travel request before searching. Reads only. 0 points a call.
Reads a travel request in the traveler's words and works out the dates and what is still missing.
| Argument | Type | Required | Meaning |
|---|---|---|---|
request | string | Yes | The traveler's own words |
kind | "flight" | "hotel" | "trip" | Yes | trip = flights and a hotel |
from | string | No | Where they fly from, as they said it |
to | string | No | Where they fly to, as they said it |
destination | string | No | Where they want to stay, as they said it |
dates | string | No | The dates exactly as the traveler said them |
adults | integer | No | Adults, when said |
children_ages | array of integer | No | Each child's age, when said |
rooms | integer | No | Rooms, when said |
cabin | string | No | Cabin, as they said it |
one_way | boolean | No | True when they said one way |
purpose | string | No | What the trip is for, when that decides the dates (a liveaboard, a wedding, a ski week) |
window | any | No | The dates the trip must fall inside because of what it is for (the season the boats run, the festival dates), never the travel dates the traveler picked. Null lifts an earlier one when the traveler chooses other dates |
anchors | array of object | No | Fixed points at the destination the travel has to fit around |
trip_nights | integer | No | The whole trip's length in nights, when blocks are given |
blocks | array of integer | No | Lengths in nights of parts to fit inside the trip (two 7-night boats is [7, 7]) |
get_travel_context
Check whether company travel rules apply. Reads only. 1 point a call.
Checks whether the traveler's company travel policy applies to a trip.
No arguments.
recommend_alternatives
Chloe's take: alternatives to a search. Reads only. 8 points a call.
Chloe's deeper look: other dates, airports and tickets for flights, and cheaper rooms on the same terms for hotels.
| Argument | Type | Required | Meaning |
|---|---|---|---|
trip_id | string | Yes | The trip_id from the search_flights or search_hotels result |
kind | "flight" | "hotel" | No | Which kind of search the trip_id came from, if known |
review_booking
Review a hotel or flight before booking. Reads only. 1 point a call. Drawn as a card.
Checks the price of a chosen hotel room or flight again and shows a review with one button into Dyme's checkout.
| Argument | Type | Required | Meaning |
|---|---|---|---|
trip_id | string | Yes | The trip_id of the search the choice came from |
hotel_id | string | No | Hotels: the hotel_id they chose |
room_name | string | No | Hotels: the room they picked, if they named one |
offer_id | string | No | Flights: the offer_id they chose |
flight_numbers | array of string | No | Flights: the flight numbers, e.g. ['UA 83','UA 1777'], when the offer_id is stale |
send_options_email
Email the options from a search to the traveler. Sends or starts something. 1 point a call.
Emails the traveler up to five options from a search.
| Argument | Type | Required | Meaning |
|---|---|---|---|
trip_id | string | Yes | The trip_id from search_hotels, search_flights or a refine |
options | array of string | No | Hotel names or flight numbers to send, when they meant particular ones |
trip_total
Add up a trip, or fit it to a budget. Reads only. 0 points a call.
Adds up a trip's prices, or fits a trip to a budget.
| Argument | Type | Required | Meaning |
|---|---|---|---|
flight_trip_id | string | No | The trip_id from search_flights |
offer_id | string | No | The offer_id of the fare to add; the best value when omitted |
flight_numbers | array of string | No | The flights' numbers in order ('AA 2614'). Send these WITH the offer_id; they still find the fare when the offer_id has gone stale |
hotel_trip_id | string | No | The trip_id from search_hotels |
hotel_id | string | No | The hotel to add; the best value when omitted |
checked_bags_per_person | integer | No | Checked bags each traveler takes, each way |
budget | number | No | The traveler's budget for the whole trip, in the searches' currency |
Price comparison
compare_fares
Compare a fare with other sites. Reads only. 10 points a call. Drawn as a card.
Compares Dyme's price for a flight with airlines and major booking sites.
| Argument | Type | Required | Meaning |
|---|---|---|---|
trip_id | string | Yes | The trip_id from the search_flights result the fare came from |
offer_id | string | No | The fare's offer_id from that result |
flight_numbers | array of string | No | The fare's flight numbers, outbound then return ('SQ31', 'SQ32'). Send these WITH the offer_id; they still identify the fare when the offer_id has gone stale |
departure_time | string | No | The outbound departure time as shown ('9:40 AM'), to tell two same-numbered fares apart |
currency | string | No | ISO currency for the comparison; defaults to the search's |
compare_prices
Compare a hotel's price with the other sites. Reads only. 10 points a call. Drawn as a card.
Compares Dyme's price for a hotel stay with major booking sites.
| Argument | Type | Required | Meaning |
|---|---|---|---|
trip_id | string | Yes | The trip_id from the search_hotels result the hotel came from |
hotel_id | string | Yes | The hotel's hotel_id from that result |
currency | string | No | ISO currency for the market read; defaults to the search's |
public_only | boolean | No | Only if the result said SIGN IN FIRST and the traveler declined: compare Dyme's public rate |
seen_site | string | No | When the traveler names a price they saw on another site: that site, as they said it |
seen_price | number | No | That price as the traveler gave it, with seen_site |
seen_per_night | boolean | No | True when that price is per night rather than for the whole stay |
request_price_match
Request a price match. Sends or starts something. 10 points a call. Drawn as a card.
Sends a price match request to the Dyme team.
| Argument | Type | Required | Meaning |
|---|---|---|---|
trip_id | string | Yes | The trip_id the comparison used |
hotel_id | string | Yes | The hotel_id the comparison used |
currency | string | No | The currency the comparison used |
seen_site | string | No | The seen_site the comparison used, if any |
seen_price | number | No | The seen_price the comparison used, if any |
seen_per_night | boolean | No | The seen_per_night the comparison used, if any |
Price watches
list_price_watches
List price watches. Reads only. 0 points a call.
Lists the traveler's price watches.
No arguments.
stop_price_watch
Stop a price watch. Removes something. 0 points a call.
Stops a price watch.
| Argument | Type | Required | Meaning |
|---|---|---|---|
watch_id | string | Yes | The id from list_price_watches or the watch's own answer |
watch_flight_price
Watch a flight route's price. Sends or starts something. 1 point a call.
Watches Dyme's price for a flight route on exact dates and emails the traveler if it drops.
| Argument | Type | Required | Meaning |
|---|---|---|---|
from | string | Yes | Origin airport IATA code |
to | string | Yes | Destination airport IATA code |
depart_date | string | Yes | YYYY-MM-DD |
return_date | string | No | Omit for one-way |
cabin | "economy" | "premium_economy" | "business" | "first" | No | Cabin watched; economy when not said |
adults | integer | No | Adults; 1 when not said |
children | integer | No | Number of children |
nonstop | boolean | No | Watch nonstop fares only |
airlines | array of string | No | Only these airlines, exactly as passed to search_flights: IATA codes ('UA') or an alliance name |
exclude_airlines | array of string | No | Airlines the traveler will not fly, exactly as passed to search_flights ('AI') |
flight_numbers | array of string | No | To watch one specific option rather than the cheapest: its flight numbers, e.g. ["UA 901", "UA 900"] |
currency | string | No | ISO currency code the fare was quoted in |
target_price | number | No | Only if the traveler names a price to wait for: the TOTAL for all travelers |
watch_hotel_price
Watch a hotel's price. Sends or starts something. 1 point a call.
Watches Dyme's price for a hotel stay and emails the traveler if it drops.
| Argument | Type | Required | Meaning |
|---|---|---|---|
trip_id | string | Yes | The trip_id of the hotel search |
hotel_id | string | Yes | The hotel_id from that search |
target_price | number | No | Only if the traveler names a price to wait for: the TOTAL for the stay |
watch_my_booking
Watch a booking made elsewhere. Sends or starts something. 1 point a call.
Watches Dyme's price for a trip the traveler booked elsewhere.
| Argument | Type | Required | Meaning |
|---|---|---|---|
kind | "hotel" | "flight" | Yes | Hotel or flight |
booked_via | string | Yes | Where they booked, e.g. Booking.com, Expedia, the airline |
paid_total | number | Yes | The total they paid, including taxes, for the whole stay or trip |
currency | string | Yes | ISO currency code of what they paid |
refundable | boolean | No | Hotel: false if it can't be canceled for free. Flight: true if fully refundable |
hotel_id | string | No | Hotel: Dyme hotel_id from find_hotel |
hotel_name | string | No | Hotel: the hotel's name when there is no hotel_id |
checkin | string | No | Hotel: check-in, YYYY-MM-DD |
checkout | string | No | Hotel: check-out, YYYY-MM-DD |
adults | integer | No | Adults on the booking |
child_ages | array of integer | No | Hotel: each child's age |
room_name | string | No | Hotel: the room as booked, so the same room is watched |
board | "room_only" | "breakfast" | "half_board" | "full_board" | "all_inclusive" | No | Hotel: meals included in what they booked |
free_cancel_until | string | No | Hotel: last moment to cancel free, ISO 8601 (date and time; add the hotel's offset if known) |
from | string | No | Flight: origin IATA code |
to | string | No | Flight: destination IATA code |
depart_date | string | No | Flight: departure, YYYY-MM-DD |
return_date | string | No | Flight: return, YYYY-MM-DD; omit for one-way |
cabin | "economy" | "premium_economy" | "business" | "first" | No | Flight: cabin booked |
children | integer | No | Flight: number of children |
flight_numbers | array of string | No | Flight: only if the traveler gives them, e.g. ["UA 901"] |
change_fee | number | No | Flight: fee to cancel or change; 0 if fully refundable |
The traveler's account
dyme_help
Answer a question about Dyme. Reads only. 1 point a call.
Answers questions about Dyme: Miles, gift cards, referrals, business accounts and support.
| Argument | Type | Required | Meaning |
|---|---|---|---|
topic | "general" | "miles" | "gift_cards" | "referrals" | "climate" | "booking_and_support" | "business" | "chloe" | Yes | miles; gift_cards; referrals; climate (emissions, carbon, solar, impact); booking_and_support (changes, cancellations, refunds, payment, contact); business; chloe; general (anything else about Dyme) |
question | string | Yes | The traveler's question, in their words |
brand | string | No | gift_cards only: the brand on the card, e.g. 'Amazon', 'Starbucks', when the question is about one brand |
get_miles_balance
Your Dyme Miles balance. Reads only. 1 point a call.
Shows the traveler's Dyme Miles balance.
No arguments.
get_my_trips
Your Dyme trips. Reads only. 1 point a call.
Lists the traveler's Dyme trips.
No arguments.
start_sign_in
Sign in to Dyme. Reads only. 0 points a call.
Asks the traveler to sign in to Dyme.
| Argument | Type | Required | Meaning |
|---|---|---|---|
via | "transport" | "meta" | No | How the sign-in prompt is raised; the server picks when omitted |
Requests to the Dyme team
request_callback
Ask the Dyme team to get back to the traveler. Sends or starts something. 1 point a call.
Asks the Dyme team to get back to the traveler.
| Argument | Type | Required | Meaning |
|---|---|---|---|
phone | string | Yes | The phone number the traveler gave, with country code if they gave one |
email | string | No | Only if the traveler typed one; otherwise the email on their Dyme account is used |
topic | string | Yes | What they want to talk through, in one or two sentences, with the dates and options |
best_time | string | No | When to call, if they said |
trip_ids | array of string | No | The trip_id of each search in this conversation the traveler wants to talk through (most recent first, up to 3). The team sees what was searched and the prices shown, so nobody has to ask again. |
request_cancellation
Ask the Dyme team to cancel a booking. Sends or starts something. 1 point a call.
Deprecated. Use request_change with kind "cancel".
Older name for request_change with kind "cancel": asks the Dyme team to cancel a booking. To be retired.
| Argument | Type | Required | Meaning |
|---|---|---|---|
booking_id | string | Yes | The booking's id from get_my_trips |
reason | string | No | Why they are cancelling, if they said |
request_change
Ask the Dyme team to change a booking. Sends or starts something. 1 point a call.
Asks the Dyme team about an existing booking: cancel, change flights or stay, skip a flight, fix a name, add a seat or bag, change it for some travelers, a special request, or hold an option before booking. A person checks and acts.
| Argument | Type | Required | Meaning |
|---|---|---|---|
kind | "cancel" | "change_flight" | "change_stay" | "skip_leg" | "name_fix" | "add_seat" | "add_bag" | "split" | "special_request" | "hold" | Yes | What the traveler wants done to the booking; hold keeps a fare or room from a search before booking |
booking_id | string | No | From get_my_trips; not for a hold |
details | string | Yes | What they want, in their words: the new dates, the flight they will miss, the request |
trip_id | string | No | A search's trip_id, for the new option or the thing to hold |
option_id | string | No | The offer_id (flight) or hotel_id (hotel) from that search |
flight_numbers | array of string | No | The flights' numbers in order ('AA 2614'). Send these WITH the offer_id; they still find the fare when the offer_id has gone stale |
call_back_on | string | No | The phone number to call them on, when they asked for a call about this booking |
request_trip_approval
Ask the company to approve this trip. Sends or starts something. 1 point a call.
Asks the traveler's company to approve a trip outside its travel policy.
| Argument | Type | Required | Meaning |
|---|---|---|---|
trip_id | string | Yes | The search the option came from |
option_id | string | Yes | Which option: a hotel's `hotel_id` or a fare's `offer_id`, exactly as the search returned it. Anything else is refused rather than guessed at. |
note | string | No | The traveler's own reason, in their words, if they gave one |
Used by the cards
Called only by the result cards inside the assistant. The assistant's model never sees these.
get_hotel_page
Hotel page (card only). Reads only. 2 points a call.
Loads a hotel's page inside the results card.
| Argument | Type | Required | Meaning |
|---|---|---|---|
hotel_id | string | Yes | The hotel_id from a search_hotels or find_hotel result |
get_hotel_photos
Hotel photo gallery (card only). Reads only. 1 point a call.
Loads a hotel's photo gallery inside a card.
| Argument | Type | Required | Meaning |
|---|---|---|---|
hotel_id | string | Yes | The hotel_id from a search_hotels result |
get_hotel_rooms
Rooms and rates for the card. Reads only. 2 points a call.
Loads a hotel's rooms and rates inside a card.
| Argument | Type | Required | Meaning |
|---|---|---|---|
trip_id | string | No | The search the hotel came from |
hotel_id | string | Yes | The hotel_id from that search |
hotel_name | string | No | The hotel's name, for the card's heading |
checkin | string | No | The search's check-in, for when that search has expired here |
checkout | string | No | The search's check-out |
adults | integer | No | The search's adults |
children | array of integer | No | The search's child ages |
personal | boolean | No | Set true ONLY when the traveler says this trip is their own rather than their employer's: 'this one's personal', 'I'm paying for this myself', 'not a work trip'. It drops the company policy, the company's picks, and any company attribution on the booking, and it is carried through to checkout on every link returned. Leave it out otherwise: absent means the trip belongs to their company, which is the safe default and the only one a member can undo later. Never set it to make results look better, and never set it for someone who has no company, because it changes nothing for them. |
currency | string | No | The search's currency, for when that search has expired here |
get_price_compare
Comparison result for the card. Reads only. 0 points a call.
Loads a price comparison's result into its card.
| Argument | Type | Required | Meaning |
|---|---|---|---|
kind | "hotel" | "flight" | Yes | Hotel or flight |
args | object | Yes | The arguments the compare tool was called with, as the card received them |
get_recommendation
Chloe's take for the card. Reads only. 1 point a call.
Loads Chloe's take into a results card.
| Argument | Type | Required | Meaning |
|---|---|---|---|
kind | "flight" | "hotel" | Yes | Flight or hotel search |
trip_id | string | Yes | The search Chloe's take is for |
start_if_missing | boolean | No | Set by the card to run the check when it has not been run yet |
get_results_map
Map of hotel results (card only). Reads only. 1 point a call.
Loads the map of hotel results inside a card.
| Argument | Type | Required | Meaning |
|---|---|---|---|
trip_id | string | Yes | The search's trip_id |
hotel_ids | array of string | Yes | The hotels on the card, in order |