Sorted Travel
v1.2.1Travel ranking, place facts, weather, visa, and profile tools for Sorted Travel.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
resolve_destination
Resolve a city, country, region, or airport onto Sorted destinations. Use this when the traveler names a place and you do not already have a sitemap handle (paris, hanoi) or IATA code. Returns handle, name, country, airport_code, and place_url for a few live matches. After resolve: for generic info / what a place is like, call get_destination_info (not weather). Call get_destination_weather only when they asked for weather, forecast, climate, or when to visit. For where-to-go ranking, call get_recommended_destinations with airport_code. One place per call. Do not invent a handle.
| Parameter | Type | Description |
|---|---|---|
query * | string | City, country, region, or IATA airport code to resolve onto Sorted destinations. |
page_size | integer | Maximum number of destination matches to return (1-7). Omit unless the traveler asked for a specific count. |
get_recommended_destinations
Recommend destinations from a departure airport. Use this whenever the traveler asks where to go. Only set filter arguments they explicitly asked for (month, airport, budget, weather, visa, tags). Omit all other filters so Sorted keeps its defaults. Never set a filter to false just because they did not mention it. When they name a continent or region, always set destination_tags (Africa → africa, Asia → asia, Europe → europe, Americas → americas, Middle East → middle-east, Caribbean → caribbean, Australia/Oceania → australia-oceania). Do not enable direct flights unless they ask…
render_recommended_destinations
Render the destination recommendations carousel. Paired data tool: get_recommended_destinations. Input is that tool's destinations list (full list for a new search, or a filtered subset for follow-ups such as cheapest or visa-free) plus related fields from the same result. Hosts show the carousel from this render tool; the data tool alone does not. Do not invent destination cards.
| Parameter | Type | Description |
|---|---|---|
destinations * | array | Destination cards from get_recommended_destinations. Pass the full list, or a filtered subset for follow-ups such as cheapest or visa-free. |
currency | string | Currency code from the recommendation result. |
discover_url | Discover URL from the recommendation result. | |
message | Optional status message for empty or error states. | |
months | Months from the recommendation result. | |
selected_month_indexes | Selected month indexes from the recommendation result. | |
source_location_code | string | Departure IATA from the recommendation result `from` field. |
status | string | Result status. Usually OK. |
total_cnt | Total match count from the recommendation result. |
get_destination_info
Get on-the-ground facts for one destination handle. Default tool for generic destination info ("info on Dubai", "tell me about Lisbon", "what is Tokyo like"). Returns brief, safety, currency, phone code, eSIM notes, and taxi apps. Use a sitemap handle such as hanoi, paris, or tokyo. If you only have a city, country, or airport name, call resolve_destination first. Do not use get_destination_weather for those generic info asks. Use get_destination_weather only when the traveler explicitly asks for current weather, a 7-day forecast, monthly climate, or when to visit. Send the traveler to place_…
| Parameter | Type | Description |
|---|---|---|
destination_handle * | string | Sorted sitemap handle such as paris, hanoi, or tokyo. |
render_destination_info
Render the destination facts card. Paired data tool: get_destination_info. Input is that tool's structuredContent, passed through unchanged. Hosts show the place card from this render tool; the data tool alone does not. Do not invent destination facts.
| Parameter | Type | Description |
|---|---|---|
destination * | object | Full structuredContent from get_destination_info. Pass it through unchanged. |
get_destination_weather
Get current weather, forecast, climate, and when-to-visit notes for one place. Use when the traveler explicitly asks for current weather, a 7-day forecast, monthly climate averages, or when to visit a named destination. Do not use this for generic destination info ("info on Dubai", "tell me about Lisbon", "what is Tokyo like") — use get_destination_info instead. This tool already includes seasonal when-to-visit months; do not look for a separate when-to-visit tool. Use a sitemap handle such as hanoi, paris, or tokyo. If you only have a city, country, or airport name, call resolve_destinatio…
| Parameter | Type | Description |
|---|---|---|
destination_handle * | string | Sorted sitemap handle such as paris, hanoi, or tokyo. |
render_destination_weather
Render the destination weather card. Paired data tool: get_destination_weather. Input is that tool's structuredContent, passed through unchanged. Hosts show the weather card from this render tool; the data tool alone does not. Do not invent weather data.
| Parameter | Type | Description |
|---|---|---|
destination * | object | Full structuredContent from get_destination_weather. Pass it through unchanged. |
check_visa_requirements
Check visa hassle for a passport country and destination country. Use visa-table country names (Ireland, not Irish; USA, not United States). Common aliases are accepted and normalized. This is planning context, not official immigration advice. Cite only place_url or source_url from this result (sorted.travel only — never invent domains).
| Parameter | Type | Description |
|---|---|---|
destination_country * | string | Visa-table destination country name. Use USA, not United States. |
passport_country * | string | Visa-table passport country name. Use USA, not United States. |
destination_handle | Optional Sorted destination handle to attach a place_url link in the response. | |
user_visas | Visas the traveler holds. Use exact uppercase codes such as UK, SCHENGEN, or NEW_ZEALAND. |
get_profile_preferences
Read the signed-in traveler's saved profile preferences. Requires an OAuth 2.0 access token with the profile.read scope. Returns passports, home airport, currency, units, destination and activity interests, preferred airlines, and bookmark or ignore lists. Does not return chat history or account-deletion controls. Intentionally omitted from OpenAI/ChatGPT tools/list while should_list_profile_preference_tools is false. Ora and other hosts still see the tool; implementation and OAuth gating stay.
update_profile_preferences
Update one saved traveler profile preference for the signed-in user. Requires an OAuth 2.0 access token with the profile.write scope. Allowed fields: currency, units, sourceAirportCode, passports, visas, passportHolder, airlines, destinationInterests, activityInterests, lists.bookmarked, and lists.ignored. This cannot delete the account, unlink messengers, or change email. Intentionally omitted from OpenAI/ChatGPT tools/list while should_list_profile_preference_tools is false. Ora and other hosts still see the tool; implementation and OAuth gating stay.
| Parameter | Type | Description |
|---|---|---|
field_name * | string | Preference field to change. Only traveler profile fields are allowed. |
field_value * | string | Value to set, add, or remove. For list fields this is one item, such as a destination handle or IATA code. |
operation * | string | UPDATE replaces the field. ADD and REMOVE change lists. |