Plan a whole trip
plan_tripBuilds a full day-by-day trip with live prices in Indian rupees in the signed-in AlgoTrips account: flights from the home city (unless gettingAround is none), hotels, activities and transfers for each city, priced together, for the cities, start date, travellers and home city given. Activities and transfers are priced only as part of such a trip, together with its hotels. 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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"cities": "<cities>",
"adults": "<adults>",
"homeCity": "<homeCity>"
},
"name": "plan_trip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pace | No | How full each day is: relaxed, balanced or fast. | |
| year | No | The year of travel, with month. | |
| month | No | 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 | Yes | Adults travelling (1 to 9). | |
| cities | Yes | The cities to stay in, in order (1 to 6). | |
| homeCity | Yes | The city the travellers fly from and come back to. | |
| budgetInr | No | 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 | No | 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 | No | The exact day the trip starts, YYYY-MM-DD. Needed to build: without it nothing is built. | |
| hotelStars | No | 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 | No | Nights for the whole trip, when some cities have no nights of their own (split between them). | |
| childrenAges | No | Each child's age (0 to 17), at most 6 children. | |
| activityStyle | No | mix (some tours, some on your own), self_guided (mostly on your own) or all_inclusive (guided tours). | |
| gettingAround | No | 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 | No | Hotel standard: budget, comfort or luxury. | |
| keepCityOrder | No | true keeps the cities in the order given. false or left out lets AlgoTrips pick the best order for flights and getting around. | |
| choicesConfirmed | No | 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. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| link | No | ||
| cities | No | ||
| status | Yes | ||
| buildId | No | ||
| choices | No | 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 | Yes | ||
| startDate | No | ||
| suggestions | No | ||
| suggestedStartDate | No |