AlgoTrips is an MCP server published by com.algotrips, hosted at api.algotrips.com. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 5 tools, including destination_facts, my_trips, plan_trip, trip_status, search_flights.
Plan priced day-by-day trips: flights, hotels, activities and transfers. Book on algotrips.com.
Nothing else in the archive shares these values.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
Facts about a travel destination (a city or region) from the AlgoTrips destination guides: country, a short overview, what the full guide covers, and links to the guide and to plan a trip there when available. If the place is not found, it names close matches to try instead.
| Parameter | Type | Description |
|---|---|---|
| place * | string | A city or region, for example "Kyoto" or "Bali". |
{
"name": "destination_facts",
"title": "Destination facts",
"description": "Facts about a travel destination (a city or region) from the AlgoTrips destination guides: country, a short overview, what the full guide covers, and links to the guide and to plan a trip there when available. If the place is not found, it names close matches to try instead.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"place"
],
"properties": {
"place": {
"type": "string",
"maxLength": 80,
"minLength": 2,
"description": "A city or region, for example \"Kyoto\" or \"Bali\"."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"found"
],
"properties": {
"name": {
"type": "string"
},
"found": {
"type": "boolean"
},
"guide": {
"type": "array",
"items": {
"type": "object",
"required": [
"title"
],
"properties": {
"text": {
"type": "string"
},
"items": {
"type": "array",
"items": {
"type": "string"
}
},
"title": {
"type": "string"
}
},
"additionalProperties": false
}
},
"links": {
"type": "object",
"properties": {
"guide": {
"type": "string"
},
"planTrip": {
"type": "string"
}
},
"additionalProperties": false
},
"country": {
"type": "string"
},
"summary": {
"type": "string"
},
"hasGuide": {
"type": "boolean"
},
"suggestions": {
"type": "array",
"items": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string"
},
"country": {
"type": "string"
}
},
"additionalProperties": false
}
},
"guideSections": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}None yet. Changes appear after a server's second daily check.
The signed-in AlgoTrips account's 10 most recent trips, newest first: title, cities, dates, status and a link to open each one on AlgoTrips. Needs the person to be signed in to AlgoTrips.
No parameters.
{
"name": "my_trips",
"title": "My trips",
"description": "The signed-in AlgoTrips account's 10 most recent trips, newest first: title, cities, dates, status and a link to open each one on AlgoTrips. Needs the person to be signed in to AlgoTrips.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"trips"
],
"properties": {
"trips": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"title",
"cities",
"startDate",
"endDate",
"status",
"link"
],
"properties": {
"id": {
"type": "string"
},
"link": {
"type": "string"
},
"title": {
"type": "string"
},
"cities": {
"type": "array",
"items": {
"type": "string"
}
},
"status": {
"type": "string"
},
"endDate": {
"type": [
"string",
"null"
]
},
"startDate": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Builds a full day-by-day trip with live prices in the signed-in AlgoTrips account: flights from the home city (unless gettingAround is none), hotels, activities and transfers for each city, for the cities, start date, travellers and home city given. The kind of hotel (hotelStars) and what the travellers enjoy (interests) shape the hotels and activities picked. A field name the tool does not take is refused: nothing is built, and the answer names the right field. Returns a build id at once. The trip takes about 3 to 6 minutes, and AlgoTrips emails the person when it is ready (the price and the link), or if it could not build it, when it has their email (the answer says so). With any of the budget, the kind of hotel, pace, activities, getting around or (2 or more cities) the city order left out, nothing is built when choicesConfirmed is not true, or when it is true but these choices were not listed to this account through this assistant at least 15 seconds and at most 2 hours earlier (a build started uses that up): the answer lists those choices with their questions and defaults. Booking and payment happen on algotrips.com. Needs the person to be signed in to AlgoTrips.
| Parameter | Type | Description |
|---|---|---|
| pace | string | How full each day is: relaxed, balanced or fast. |
| year | integer | The year of travel, with month. |
| month | integer | The month of travel (1 to 12), when the person has no exact day yet. With month + year and no startDate nothing is built: the answer suggests a start date (suggestedStartDate). |
| adults * | integer | Adults travelling (1 to 9). |
| cities * | array | The cities to stay in, in order (1 to 6). |
| homeCity * | string | The city the travellers fly from and come back to. |
| budgetInr | integer | The whole trip budget in Indian rupees, a whole number (₹4.5 lakh = 450000). Left out: a typical amount for this trip is used. |
| interests | array | What the travellers enjoy, the choices on the website: Culture, Food & Dining, Art & Museums, Beach, Nightlife, Shopping, History, Nature. Left out: a bit of everything. |
| startDate | string | The exact day the trip starts, YYYY-MM-DD. Needed to build: without it nothing is built. |
| hotelStars | array | The kinds of hotel the person wants, the choices on the website: 1 = hostels, 2 = value for money, 3 = 3-star (mid-range), 4 = 4-star (comfortable), 5 = 5-star (luxury). The best rated hotel of these kinds is picked. When given, it is used instead of hotelStandard. Left out: no preference for a kind… |
| totalNights | integer | Nights for the whole trip, when some cities have no nights of their own (split between them). |
| childrenAges | array | Each child's age (0 to 17), at most 6 children. |
| activityStyle | string | mix (some tours, some on your own), self_guided (mostly on your own) or all_inclusive (guided tours). |
| gettingAround | string | How the travellers get there and between cities, the choices on the website: auto (AlgoTrips picks a flight or road / rail for each hop), all (a flight on every hop that has one), edge (flights to the first city and home from the last, road or rail in between), none (no flights: hotels, activities a… |
| hotelStandard | string | Hotel standard: budget, comfort or luxury. |
| keepCityOrder | boolean | true keeps the cities in the order given. false or left out lets AlgoTrips pick the best order for flights and getting around. |
| choicesConfirmed | boolean | true: the person has been shown these choices (in a needs_choices or needs_date answer) and chose the defaults for the ones left out: any of budgetInr, the kind of hotel (hotelStars or hotelStandard), pace, activityStyle, gettingAround and (2 or more cities) keepCityOrder left out gets its default. … |
{
"name": "plan_trip",
"title": "Plan a trip",
"description": "Builds a full day-by-day trip with live prices in the signed-in AlgoTrips account: flights from the home city (unless gettingAround is none), hotels, activities and transfers for each city, for the cities, start date, travellers and home city given. The kind of hotel (hotelStars) and what the travellers enjoy (interests) shape the hotels and activities picked. A field name the tool does not take is refused: nothing is built, and the answer names the right field. Returns a build id at once. The trip takes about 3 to 6 minutes, and AlgoTrips emails the person when it is ready (the price and the link), or if it could not build it, when it has their email (the answer says so). With any of the budget, the kind of hotel, pace, activities, getting around or (2 or more cities) the city order left out, nothing is built when choicesConfirmed is not true, or when it is true but these choices were not listed to this account through this assistant at least 15 seconds and at most 2 hours earlier (a build started uses that up): the answer lists those choices with their questions and defaults. Booking and payment happen on algotrips.com. Needs the person to be signed in to AlgoTrips.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"cities",
"adults",
"homeCity"
],
"properties": {
"pace": {
"enum": [
"relaxed",
"balanced",
"fast"
],
"type": "string",
"description": "How full each day is: relaxed, balanced or fast."
},
"year": {
"type": "integer",
"maximum": 2100,
"minimum": 2000,
"description": "The year of travel, with month."
},
"month": {
"type": "integer",
"maximum": 12,
"minimum": 1,
"description": "The month of travel (1 to 12), when the person has no exact day yet. With month + year and no startDate nothing is built: the answer suggests a start date (suggestedStartDate)."
},
"adults": {
"type": "integer",
"maximum": 9,
"minimum": 1,
"description": "Adults travelling (1 to 9)."
},
"cities": {
"type": "array",
"items": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"maxLength": 80,
"minLength": 2,
"description": "A city to stay in, for example \"Kyoto\", or \"Kyoto, Japan\" when the name is shared."
},
"nights": {
"type": "integer",
"maximum": 14,
"minimum": 1,
"description": "Nights in this city (1 to 14)."
}
},
"additionalProperties": {}
},
"maxItems": 6,
"minItems": 1,
"description": "The cities to stay in, in order (1 to 6)."
},
"homeCity": {
"type": "string",
"maxLength": 80,
"minLength": 2,
"description": "The city the travellers fly from and come back to."
},
"budgetInr": {
"type": "integer",
"maximum": 100000000,
"minimum": 1000,
"description": "The whole trip budget in Indian rupees, a whole number (₹4.5 lakh = 450000). Left out: a typical amount for this trip is used."
},
"interests": {
"type": "array",
"items": {
"enum": [
"Culture",
"Food & Dining",
"Art & Museums",
"Beach",
"Nightlife",
"Shopping",
"History",
"Nature"
],
"type": "string"
},
"maxItems": 8,
"minItems": 1,
"description": "What the travellers enjoy, the choices on the website: Culture, Food & Dining, Art & Museums, Beach, Nightlife, Shopping, History, Nature. Left out: a bit of everything."
},
"startDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "The exact day the trip starts, YYYY-MM-DD. Needed to build: without it nothing is built."
},
"hotelStars": {
"type": "array",
"items": {
"type": "integer",
"maximum": 5,
"minimum": 1
},
"maxItems": 5,
"minItems": 1,
"description": "The kinds of hotel the person wants, the choices on the website: 1 = hostels, 2 = value for money, 3 = 3-star (mid-range), 4 = 4-star (comfortable), 5 = 5-star (luxury). The best rated hotel of these kinds is picked. When given, it is used instead of hotelStandard. Left out: no preference for a kind of hotel."
},
"totalNights": {
"type": "integer",
"maximum": 30,
"minimum": 1,
"description": "Nights for the whole trip, when some cities have no nights of their own (split between them)."
},
"childrenAges": {
"type": "array",
"items": {
"type": "integer",
"maximum": 17,
"minimum": 0
},
"maxItems": 6,
"description": "Each child's age (0 to 17), at most 6 children."
},
"activityStyle": {
"enum": [
"mix",
"self_guided",
"all_inclusive"
],
"type": "string",
"description": "mix (some tours, some on your own), self_guided (mostly on your own) or all_inclusive (guided tours)."
},
"gettingAround": {
"enum": [
"auto",
"all",
"edge",
"none"
],
"type": "string",
"description": "How the travellers get there and between cities, the choices on the website: auto (AlgoTrips picks a flight or road / rail for each hop), all (a flight on every hop that has one), edge (flights to the first city and home from the last, road or rail in between), none (no flights: hotels, activities and transfers only). Left out: auto."
},
"hotelStandard": {
"enum": [
"budget",
"comfort",
"luxury"
],
"type": "string",
"description": "Hotel standard: budget, comfort or luxury."
},
"keepCityOrder": {
"type": "boolean",
"description": "true keeps the cities in the order given. false or left out lets AlgoTrips pick the best order for flights and getting around."
},
"choicesConfirmed": {
"type": "boolean",
"description": "true: the person has been shown these choices (in a needs_choices or needs_date answer) and chose the defaults for the ones left out: any of budgetInr, the kind of hotel (hotelStars or hotelStandard), pace, activityStyle, gettingAround and (2 or more cities) keepCityOrder left out gets its default. Counted only when each of those choices was listed to this account through this assistant at least 15 seconds and at most 2 hours earlier (a build started uses that up); otherwise the answer is needs_choices. false or left out: with any of them left out nothing is built, and the answer (status needs_choices) lists them with a question, the allowed values and the default for each."
}
},
"additionalProperties": {}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"message"
],
"properties": {
"link": {
"type": "string"
},
"cities": {
"type": "array",
"items": {
"type": "object",
"required": [
"city",
"nights"
],
"properties": {
"city": {
"type": "string"
},
"nights": {
"type": "number"
}
},
"additionalProperties": false
}
},
"status": {
"enum": [
"building",
"refused",
"needs_changes",
"needs_date",
"needs_choices"
],
"type": "string"
},
"buildId": {
"type": "string"
},
"choices": {
"type": "array",
"items": {
"type": "object",
"required": [
"field",
"question",
"options",
"default",
"defaultLabel"
],
"properties": {
"field": {
"type": "string"
},
"default": {
"type": [
"string",
"number",
"boolean",
"null"
]
},
"options": {
"type": "array",
"items": {
"type": "object",
"required": [
"value",
"label"
],
"properties": {
"label": {
"type": "string"
},
"value": {
"type": [
"string",
"number",
"boolean"
]
}
},
"additionalProperties": false
}
},
"question": {
"type": "string"
},
"defaultLabel": {
"type": "string"
}
},
"additionalProperties": false
},
"description": "The choices left out (status needs_choices, or needs_date when choices are left out too): for each, the input field, a question, the allowed values and the default used when it stays out."
},
"message": {
"type": "string"
},
"startDate": {
"type": "string"
},
"suggestions": {
"type": "array",
"items": {
"type": "object",
"required": [
"for",
"names"
],
"properties": {
"for": {
"type": "string"
},
"names": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
}
},
"suggestedStartDate": {
"type": "string"
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}How a trip build is going, by its build id: while it builds, what it is working on; when it is ready, the total price, nights, hotel (with its star rating and guest score out of 10) and number of activities per city, the order of the cities and why when AlgoTrips changed it, a day-by-day outline with the flights, and the link to open and book it on AlgoTrips. Needs the person to be signed in.
| Parameter | Type | Description |
|---|---|---|
| buildId * | string | The build id returned when the trip build started. |
{
"name": "trip_status",
"title": "Trip status",
"description": "How a trip build is going, by its build id: while it builds, what it is working on; when it is ready, the total price, nights, hotel (with its star rating and guest score out of 10) and number of activities per city, the order of the cities and why when AlgoTrips changed it, a day-by-day outline with the flights, and the link to open and book it on AlgoTrips. Needs the person to be signed in.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"buildId"
],
"properties": {
"buildId": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
"description": "The build id returned when the trip build started."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"message"
],
"properties": {
"days": {
"type": "array",
"items": {
"type": "object",
"required": [
"day",
"date",
"city",
"items"
],
"properties": {
"day": {
"type": "number"
},
"city": {
"type": [
"string",
"null"
]
},
"date": {
"type": [
"string",
"null"
]
},
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"partOfDay"
],
"properties": {
"name": {
"type": "string"
},
"partOfDay": {
"anyOf": [
{
"enum": [
"morning",
"afternoon",
"evening"
],
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
}
},
"link": {
"type": "string"
},
"order": {
"type": "object",
"required": [
"cities",
"why"
],
"properties": {
"why": {
"type": "string"
},
"cities": {
"type": "array",
"items": {
"type": "string"
}
}
},
"description": "The order the cities are visited in and why, only when AlgoTrips changed the order the person gave.",
"additionalProperties": false
},
"steps": {
"type": "array",
"items": {
"type": "object",
"required": [
"step",
"state"
],
"properties": {
"step": {
"type": "string"
},
"state": {
"type": "string"
}
},
"additionalProperties": false
}
},
"title": {
"type": "string"
},
"total": {
"type": "object",
"required": [
"amount",
"currency"
],
"properties": {
"amount": {
"type": "number"
},
"currency": {
"type": "string"
}
},
"additionalProperties": false
},
"cities": {
"type": "array",
"items": {
"type": "object",
"required": [
"city",
"nights",
"hotel",
"activities"
],
"properties": {
"city": {
"type": "string"
},
"hotel": {
"anyOf": [
{
"type": "object",
"required": [
"name",
"stars",
"guestScore",
"reviewCount"
],
"properties": {
"name": {
"type": "string"
},
"stars": {
"type": [
"number",
"null"
],
"description": "Star rating (1-5), as the trip page shows it; null when unknown."
},
"guestScore": {
"type": [
"number",
"null"
],
"description": "Guest review score out of 10; null when unknown."
},
"reviewCount": {
"type": [
"number",
"null"
],
"description": "Number of guest reviews behind the score; null when unknown."
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"nights": {
"type": [
"number",
"null"
]
},
"activities": {
"type": "number"
}
},
"additionalProperties": false
}
},
"status": {
"enum": [
"building",
"done",
"failed",
"not_found"
],
"type": "string"
},
"flights": {
"type": "array",
"items": {
"type": "object",
"required": [
"date",
"from",
"to",
"departs",
"arrives",
"airline",
"stops"
],
"properties": {
"to": {
"type": "string"
},
"date": {
"type": [
"string",
"null"
]
},
"from": {
"type": "string"
},
"stops": {
"type": [
"number",
"null"
]
},
"airline": {
"type": [
"string",
"null"
]
},
"arrives": {
"type": [
"string",
"null"
]
},
"departs": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
},
"message": {
"type": "string"
},
"policyLink": {
"type": "string"
},
"flightsWithoutFare": {
"type": "number"
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Searches one-way flights on AlgoTrips for one day between two cities or airports, with current prices. Returns up to 5 options (airline, flight numbers, times, duration, stops, baggage, refund, fare and price for all passengers), each with a link to book it on AlgoTrips, and a link to see every flight. Nothing is booked or paid here. The prices are the signed-in AlgoTrips account's own; needs the person to be signed in to AlgoTrips. A city that is not found or is shared by several cities returns close matches instead (status needs_changes).
| Parameter | Type | Description |
|---|---|---|
| to * | string | Where the flight goes: a city or a 3-letter airport code, as for from. |
| date * | string | The day of the flight, YYYY-MM-DD, from today up to 330 days ahead. |
| from * | string | Where the flight leaves from: a city ("Mumbai", or "Hyderabad, India" when the name is shared) or a 3-letter airport code ("BOM"). |
| cabin | string | Cabin: economy, premium_economy, business or first. Left out: every cabin. |
| adults | integer | Adults (12 and over) travelling, 1 to 9. Left out: 1. |
| infants | integer | Infants under 2 (on a lap), 0 to 4, no more than the adults. |
| directOnly | boolean | true: nonstop flights only. |
| departAfter | string | The earliest departure time, HH:MM (24-hour clock, local time at the departure airport). |
| childrenAges | array | Each child's age, 2 to 11. Adults and children together are at most 9. |
| departBefore | string | The latest departure time, HH:MM (24-hour clock, local time at the departure airport). |
| preferredTime | string | A preferred departure time, HH:MM. Without departAfter or departBefore, only flights leaving within 2 hours of it are returned. The flight nearest to it is always among the options. |
{
"name": "search_flights",
"title": "Search flights",
"description": "Searches one-way flights on AlgoTrips for one day between two cities or airports, with current prices. Returns up to 5 options (airline, flight numbers, times, duration, stops, baggage, refund, fare and price for all passengers), each with a link to book it on AlgoTrips, and a link to see every flight. Nothing is booked or paid here. The prices are the signed-in AlgoTrips account's own; needs the person to be signed in to AlgoTrips. A city that is not found or is shared by several cities returns close matches instead (status needs_changes).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"from",
"to",
"date"
],
"properties": {
"to": {
"type": "string",
"maxLength": 80,
"minLength": 2,
"description": "Where the flight goes: a city or a 3-letter airport code, as for from."
},
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "The day of the flight, YYYY-MM-DD, from today up to 330 days ahead."
},
"from": {
"type": "string",
"maxLength": 80,
"minLength": 2,
"description": "Where the flight leaves from: a city (\"Mumbai\", or \"Hyderabad, India\" when the name is shared) or a 3-letter airport code (\"BOM\")."
},
"cabin": {
"enum": [
"economy",
"premium_economy",
"business",
"first"
],
"type": "string",
"description": "Cabin: economy, premium_economy, business or first. Left out: every cabin."
},
"adults": {
"type": "integer",
"maximum": 9,
"minimum": 1,
"description": "Adults (12 and over) travelling, 1 to 9. Left out: 1."
},
"infants": {
"type": "integer",
"maximum": 4,
"minimum": 0,
"description": "Infants under 2 (on a lap), 0 to 4, no more than the adults."
},
"directOnly": {
"type": "boolean",
"description": "true: nonstop flights only."
},
"departAfter": {
"type": "string",
"pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
"description": "The earliest departure time, HH:MM (24-hour clock, local time at the departure airport)."
},
"childrenAges": {
"type": "array",
"items": {
"type": "integer",
"maximum": 11,
"minimum": 2
},
"maxItems": 8,
"description": "Each child's age, 2 to 11. Adults and children together are at most 9."
},
"departBefore": {
"type": "string",
"pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
"description": "The latest departure time, HH:MM (24-hour clock, local time at the departure airport)."
},
"preferredTime": {
"type": "string",
"pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
"description": "A preferred departure time, HH:MM. Without departAfter or departBefore, only flights leaving within 2 hours of it are returned. The flight nearest to it is always among the options."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"message"
],
"properties": {
"to": {
"type": "object",
"required": [
"code",
"city",
"country"
],
"properties": {
"city": {
"type": "string"
},
"code": {
"type": "string"
},
"country": {
"type": "string"
}
},
"additionalProperties": false
},
"date": {
"type": "string"
},
"from": {
"type": "object",
"required": [
"code",
"city",
"country"
],
"properties": {
"city": {
"type": "string"
},
"code": {
"type": "string"
},
"country": {
"type": "string"
}
},
"additionalProperties": false
},
"party": {
"type": "object",
"required": [
"adults",
"children",
"infants"
],
"properties": {
"adults": {
"type": "number"
},
"infants": {
"type": "number"
},
"children": {
"type": "number"
}
},
"description": "The travellers the search was for (adults left out = 1).",
"additionalProperties": false
},
"status": {
"enum": [
"ok",
"no_flights",
"needs_changes",
"refused"
],
"type": "string"
},
"message": {
"type": "string"
},
"options": {
"type": "array",
"items": {
"type": "object",
"required": [
"airline",
"flightNumbers",
"from",
"to",
"departs",
"arrives",
"durationMinutes",
"stops",
"baggage",
"refundable",
"fareType",
"price",
"currency",
"link"
],
"properties": {
"to": {
"type": "object",
"required": [
"code",
"city",
"airport"
],
"properties": {
"city": {
"type": [
"string",
"null"
]
},
"code": {
"type": "string"
},
"airport": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
"from": {
"type": "object",
"required": [
"code",
"city",
"airport"
],
"properties": {
"city": {
"type": [
"string",
"null"
]
},
"code": {
"type": "string"
},
"airport": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
"link": {
"type": "string"
},
"price": {
"type": [
"number",
"null"
],
"description": "Every passenger together, rounded up; null when no price can be given."
},
"stops": {
"type": "number"
},
"airline": {
"type": "string"
},
"arrives": {
"type": [
"string",
"null"
],
"description": "Local time at the arrival airport, YYYY-MM-DDTHH:MM."
},
"baggage": {
"anyOf": [
{
"type": "object",
"required": [
"checkIn",
"cabin"
],
"properties": {
"cabin": {
"type": [
"string",
"null"
]
},
"checkIn": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"departs": {
"type": "string",
"description": "Local time at the departure airport, YYYY-MM-DDTHH:MM."
},
"currency": {
"type": [
"string",
"null"
]
},
"fareType": {
"type": [
"string",
"null"
]
},
"refundable": {
"type": [
"boolean",
"null"
]
},
"flightNumbers": {
"type": "array",
"items": {
"type": "string"
}
},
"durationMinutes": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": false
}
},
"priceNote": {
"type": "string"
},
"suggestions": {
"type": "array",
"items": {
"type": "object",
"required": [
"for",
"names"
],
"properties": {
"for": {
"type": "string"
},
"names": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
}
},
"allFlightsLink": {
"type": "string"
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Plan and price real trips with AlgoTrips: facts about destinations, and, once the person signs in, full trips with live prices. Use plan_trip when the person wants a real, priced trip built (flights, hotels, activities and transfers). Before calling it, confirm with the person: the cities and nights in each, the exact start date (a month alone is not enough; given only a month, plan_trip suggests a day to confirm with the person), how many adults, each child's age, and the home city they fly from. Do not guess any of these. Pass the kind of hotel (hotelStars) and what they enjoy (interests) when the person has said so; leave hotelStars out when the person has no preference. When the person has given a budget, send it in budgetInr as a whole number of Indian rupees (₹4.5 lakh = 450000); leave budgetInr out only when the person has no budget. plan_trip may answer needs_choices (after needs_date, nothing built), or list the same choices in its needs_date answer: the budget, hotels, pace, activities, getting around and, with 2 or more cities, the city order not given yet. Show the person all of those questions in ONE message, with the default for each, then call plan_trip again with their answers, or with choicesConfirmed true when they say to use the defaults for the rest. Send choicesConfirmed true ONLY after the person has seen those questions (from a needs_choices or needs_date answer) and said to use the defaults for the rest; never because the person did not mention a choice. plan_trip answers at once with a build id. The trip takes about 3 to 6 minutes, and AlgoTrips emails the person when it is ready (the price and the link), or if it could not build it, when it has their email (the plan_trip answer says so): tell the person that, and do not keep checking. Call trip_status with the build id only if the person asks, or if nothing arrives in about 10 minutes. Booking and payment happen on algotrips.com, never in this chat. Use search_flights when the person wants flights only, not a whole trip. Before calling it, confirm with the person where from, where to, the day and how many travel; do not guess the day. Show the person the options with their links and the price note. The person books and pays on algotrips.com, where the price is checked again before payment; nothing is booked or paid in this chat.
Names, descriptions and schemas were written by the server and are shown as data.