Trip planner for Claude: where to go for your free days, flight deals, routes and local favourites.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Saves flights the traveller booked themselves, such as ones read from a booking confirmation, so no flight search is needed and the legs show as booked. Without trip_id it starts a new trip from them, like start_trip_from_flight: from the day the flight out lands to the day the flight home leaves (or nights after landing when there is no flight home yet), with the new-trip draft's wishes and focus. With trip_id it fits that trip to them: the flight out sets the first day, the flight home the last, nights move as with set_trip_fare. With trip_id and leg_key it saves one flight for that leg of the route, booked; for a leg between stops the flight has to leave on the leg's day. Times are local at each airport and go in the trip's calendar. Shows the trip in the planner.
The flight out, or with leg_key the flight for that leg
The flight home
What the traveller paid, all travellers, both ways
For a new trip with no flight home yet: nights after landing
For a new trip: the country it is in, when not the arrival airport's
With trip_id: the leg this one flight is for (give it as out)
True when a flight already booked on this trip was changed and this one replaces it; without it a different flight on the same side is refused
Booking reference (PNR), kept as the legs' note
This tool isn't marked read-only, so it may change something on the server or in an account you connected.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http got-a-plan https://gotaplan.app/mcp
Saves flights the traveller booked themselves, such as ones read from a booking confirmation, so no flight search is needed and the legs show as booked. Without trip_id it starts a new trip from them, like start_trip_from_flight: from the day the flight out lands to the day the flight home leaves (or nights after landing when there is no flight home yet), with the new-trip draft's wishes and focus. With trip_id it fits that trip to them: the flight out sets the first day, the flight home the last, nights move as with set_trip_fare. With trip_id and leg_key it saves one flight for that leg of the route, booked; for a leg between stops the flight has to leave on the leg's day. Times are local at each airport and go in the trip's calendar. Shows the trip in the planner.
| Argument | Type | Description |
|---|---|---|
| out | object | The flight out, or with leg_key the flight for that leg |
| back | object | The flight home |
| name | string | |
| price | number | What the traveller paid, all travellers, both ways |
| adults | integer | |
| nights | integer | For a new trip with no flight home yet: nights after landing |
| country | string | For a new trip: the country it is in, when not the arrival airport's |
| leg_key | string | With trip_id: the leg this one flight is for (give it as out) |
| replace | boolean | True when a flight already booked on this trip was changed and this one replaces it; without it a different flight on the same side is refused |
| trip_id | string | |
| currency | string | |
| booking_ref | string | Booking reference (PNR), kept as the legs' note |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"out": {
"type": "object",
"required": [
"from",
"to",
"date"
],
"properties": {
"to": {
"type": "string",
"pattern": "^[A-Za-z]{3}$"
},
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Day the flight leaves, local"
},
"from": {
"type": "string",
"pattern": "^[A-Za-z]{3}$"
},
"number": {
"type": "string",
"maxLength": 40,
"description": "Flight number or numbers, e.g. \"LH 772\" or \"QR 70, QR 970\""
},
"airline": {
"type": "string",
"maxLength": 80
},
"arrives": {
"type": "string",
"pattern": "^([01]?\\d|2[0-3]):[0-5]\\d$",
"description": "Arrival time, local at the arrival airport"
},
"departs": {
"type": "string",
"pattern": "^([01]?\\d|2[0-3]):[0-5]\\d$",
"description": "Departure time, local at the departure airport"
},
"arrive_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Day it lands, when that is after the day it leaves"
}
},
"description": "The flight out, or with leg_key the flight for that leg"
},
"back": {
"type": "object",
"required": [
"from",
"to",
"date"
],
"properties": {
"to": {
"type": "string",
"pattern": "^[A-Za-z]{3}$"
},
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Day the flight leaves, local"
},
"from": {
"type": "string",
"pattern": "^[A-Za-z]{3}$"
},
"number": {
"type": "string",
"maxLength": 40,
"description": "Flight number or numbers, e.g. \"LH 772\" or \"QR 70, QR 970\""
},
"airline": {
"type": "string",
"maxLength": 80
},
"arrives": {
"type": "string",
"pattern": "^([01]?\\d|2[0-3]):[0-5]\\d$",
"description": "Arrival time, local at the arrival airport"
},
"departs": {
"type": "string",
"pattern": "^([01]?\\d|2[0-3]):[0-5]\\d$",
"description": "Departure time, local at the departure airport"
},
"arrive_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Day it lands, when that is after the day it leaves"
}
},
"description": "The flight home"
},
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"price": {
"type": "number",
"maximum": 1000000,
"minimum": 0,
"description": "What the traveller paid, all travellers, both ways"
},
"adults": {
"type": "integer",
"maximum": 9,
"minimum": 1
},
"nights": {
"type": "integer",
"maximum": 120,
"minimum": 1,
"description": "For a new trip with no flight home yet: nights after landing"
},
"country": {
"type": "string",
"maxLength": 60,
"minLength": 2,
"description": "For a new trip: the country it is in, when not the arrival airport's"
},
"leg_key": {
"type": "string",
"maxLength": 80,
"description": "With trip_id: the leg this one flight is for (give it as out)"
},
"replace": {
"type": "boolean",
"description": "True when a flight already booked on this trip was changed and this one replaces it; without it a different flight on the same side is refused"
},
"trip_id": {
"type": "string",
"maxLength": 40
},
"currency": {
"type": "string",
"pattern": "^[A-Za-z]{3}$"
},
"booking_ref": {
"type": "string",
"maxLength": 40,
"description": "Booking reference (PNR), kept as the legs' note"
}
}
}Gives a link that adds a saved trip to the traveller's own calendar app (Apple Calendar, Google Calendar on Android or the web, Outlook and others): an all-day event for each stop with its hotel and local picks, an event for each flight, ferry and drive at its times when known, and each saved tour or activity that has a date. The calendar is a subscription, so later changes to the trip show up by themselves. action "new" makes a new link and stops the old one; "stop" switches the link off.
| Argument | Type | Description |
|---|---|---|
| action | string | "get" (default) gives the link, making one the first time |
| trip_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"trip_id"
],
"properties": {
"action": {
"enum": [
"get",
"new",
"stop"
],
"type": "string",
"description": "\"get\" (default) gives the link, making one the first time"
},
"trip_id": {
"type": "string",
"maxLength": 40
}
}
}Saves the flight the traveller picked for one leg of a trip, identified by leg_key from the trip's legs, with its summary, price and booking link, such as a fare from a flight search or one saved in the new-trip draft. Booking itself happens on the airline's or booking site.
| Argument | Type | Description |
|---|---|---|
| link | string | |
| price* | number | Total for all travellers |
| source | string | Where the offer was found, e.g. the airline or booking site |
| leg_key* | string | |
| summary* | string | One line: airline, flight numbers, times |
| trip_id* | string | |
| currency* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"trip_id",
"leg_key",
"summary",
"price",
"currency"
],
"properties": {
"link": {
"type": "string",
"maxLength": 2000
},
"price": {
"type": "number",
"maximum": 1000000,
"minimum": 0,
"description": "Total for all travellers"
},
"source": {
"type": "string",
"maxLength": 40,
"description": "Where the offer was found, e.g. the airline or booking site"
},
"leg_key": {
"type": "string",
"maxLength": 80
},
"summary": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "One line: airline, flight numbers, times"
},
"trip_id": {
"type": "string",
"maxLength": 40
},
"currency": {
"type": "string",
"pattern": "^[A-Za-z]{3}$"
}
}
}Makes one of the route options saved with suggest_routes the trip's route. The other options stay saved, so the traveller can switch back. Flights chosen for legs that no longer exist stay saved but are not shown. Refused while it would move a flight marked booked; booked hotels and tours that leave the route are named in the reply.
| Argument | Type | Description |
|---|---|---|
| option* | string | The option's letter: A, B or C |
| trip_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"trip_id",
"option"
],
"properties": {
"option": {
"type": "string",
"maxLength": 4,
"minLength": 1,
"description": "The option's letter: A, B or C"
},
"trip_id": {
"type": "string",
"maxLength": 40
}
}
}Saves the hotel or other place to stay the traveller picked for one stop of a trip, identified by stay_key from the trip's stays, with its name, price and booking link, such as a place the traveller found through the stop's Booking.com search from hotel_link. Booking itself happens on Booking.com or the hotel's own site; set booked when the traveller says it is booked.
| Argument | Type | Description |
|---|---|---|
| link | string | |
| name* | string | |
| note | string | e.g. a booking reference, free cancellation until, what the stay includes |
| meals | string | The meals the rate includes: room: Room only, breakfast: Breakfast included, half: Half board, full: Full board, all: All-inclusive |
| price | number | Total for all nights and rooms |
| booked | boolean | |
| source | string | Where the offer was found, e.g. Booking.com |
| trip_id* | string | |
| currency | string | |
Saves the ride the traveller picked for one ferry or road leg of a trip: option is its position in the options saved for the leg, counted from 0. After the trip's dates moved, same_ride keeps the ride chosen for the old date on the leg's new date instead (not booked; its times are the usual ones, to check on the booking site). Booking itself happens on the booking site; mark_leg marks it booked. clear_flight removes the choice again.
| Argument | Type | Description |
|---|---|---|
| option | integer | |
| leg_key* | string | |
| trip_id* | string | |
| same_ride | boolean | True to keep the ride chosen for this hop before its date moved, on the new date |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"trip_id",
"leg_key"
],
"properties": {
"option": {
"type": "integer",
"maximum": 7,
"minimum": 0
},
"leg_key": {
"type": "string",
"maxLength": 80
},
"trip_id": {
"type": "string",
"maxLength": 40
},
"same_ride": {
"type": "boolean",
"description": "True to keep the ride chosen for this hop before its date moved, on the new date"
}
}
}Removes an activity saved on a trip with save_activity, by its place and name. It does not cancel any booking.
| Argument | Type | Description |
|---|---|---|
| name* | string | |
| place* | string | |
| trip_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"trip_id",
"place",
"name"
],
"properties": {
"name": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"place": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"trip_id": {
"type": "string",
"maxLength": 40
}
}
}Removes the flight, or the ferry, bus or train, saved for one leg of a trip, so the leg shows as not chosen again. It does not cancel any booking.
| Argument | Type | Description |
|---|---|---|
| leg_key* | string | |
| trip_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"trip_id",
"leg_key"
],
"properties": {
"leg_key": {
"type": "string",
"maxLength": 80
},
"trip_id": {
"type": "string",
"maxLength": 40
}
}
}Removes the hotel saved for one stop of a trip, so the stop shows as not chosen again. It does not cancel any booking.
| Argument | Type | Description |
|---|---|---|
| trip_id* | string | |
| stay_key* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"trip_id",
"stay_key"
],
"properties": {
"trip_id": {
"type": "string",
"maxLength": 40
},
"stay_key": {
"type": "string",
"maxLength": 160
}
}
}A country's weather in each month of the year: average day and night temperatures, rain (mm and rainy days), hours of sunshine a day and, for countries with beaches, the sea temperature. Ten-year averages from Open-Meteo, near the country's main airport or near the airport given. Use it to say when a country is warm, dry or sunny; the planner's Best time step shows it as a chart.
| Argument | Type | Description |
|---|---|---|
| airport | string | A part of the country, by its airport (Sapporo is CTS); the main airport if left out |
| country* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"country"
],
"properties": {
"airport": {
"type": "string",
"pattern": "^[A-Za-z]{3}$",
"description": "A part of the country, by its airport (Sapporo is CTS); the main airport if left out"
},
"country": {
"type": "string",
"maxLength": 60,
"minLength": 2
}
}
}Use when the traveller already knows the places they want to visit and for how many nights. Saves a new multi-stop trip to the traveller's Got a Plan account. Stops are in travel order with the nights spent at each; a last stop with 0 nights is where the trip ends. Places in Thailand are recognised by name; elsewhere, give each place's coordinates and nearest airport code. Returns the trip with its dates and legs.
| Argument | Type | Description |
|---|---|---|
| name* | string | |
| start* | string | Date of the first night |
| stops* | array | |
| adults* | integer | |
| budget | number | What the whole trip may cost, all travellers, in budget_currency |
| children | array | The ages of the children travelling, one each (they are not counted in adults) |
| home_airport | string | Where the traveller flies from and back to. Leave it out when they travel from home by train or car (a weekend in Vienna from Munich), and instead start and end the stops with their home town as a 0-night stop (Munich 0, Vienna 2, Munich 0): the trip then has train or drive legs from and to home and no flights |
Deletes everything the traveller has saved in Got a Plan: all trips, chosen flights, the new-trip draft with its fares, local picks, answers shown in the planner and search counts. This cannot be undone. Requires confirm set to true.
| Argument | Type | Description |
|---|---|---|
| confirm* | boolean | Must be true |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"confirm"
],
"properties": {
"confirm": {
"type": "boolean",
"const": true,
"description": "Must be true"
}
}
}Deletes one saved trip, with the flights and hotels chosen for it, from the traveller's Got a Plan account. This cannot be undone.
| Argument | Type | Description |
|---|---|---|
| trip_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"trip_id"
],
"properties": {
"trip_id": {
"type": "string",
"maxLength": 40
}
}
}Gives links to search tours, activities and attraction tickets at a place on GetYourGuide and Klook (it does not list tours itself; for what is worth doing there, use get_local_picks and plan_local_picks). Give a stop of a saved trip (trip_id and stop, its number from 0) or a place: an English city name, or coordinates for a small town. The links open each site's own search, and carry Got a Plan's Travelpayouts partner ID, so Got a Plan may earn a commission on a booking; the price is the same either way.
| Argument | Type | Description |
|---|---|---|
| lat | number | |
| lon | number | |
| date | string | The day of the activity, which changes the ranking; with a trip stop, its arrival day is used |
| stop | integer | The stop's number in the trip, from 0 |
| limit | integer | |
| place | string | English city or area name, e.g. "Chiang Mai"; not needed with trip_id and stop |
| trip_id | string | |
| interests | array | In the traveller's words, e.g. "street food", "snorkelling", "temples" |
Finds airports matching a city, an airport name or an IATA code, busiest first. With near_lat and near_lon instead of a query, it lists the airports with scheduled flights within a distance of that point, busiest first, with how far each is. Works without signing in.
| Argument | Type | Description |
|---|---|---|
| limit | integer | |
| query | string | |
| near_lat | number | |
| near_lon | number | |
| within_km | integer | Distance from the point, 250 km if left out |
| international | boolean | Only airports with flights abroad; true if left out |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "integer",
"maximum": 30,
"minimum": 1
},
"query": {
"type": "string",
"maxLength": 80,
"minLength": 2
},
"near_lat": {
"type": "number",
"maximum": 90,
"minimum": -90
},
"near_lon": {
"type": "number",
"maximum": 180,
"minimum": -180
},
"within_km": {
"type": "integer",
"maximum": 900,
"minimum": 25,
"description": "Distance from the point, 250 km if left out"
},
"international": {
"type": "boolean",
"description": "Only airports with flights abroad; true if left out"
}
}
}Finds eSIM mobile data plans (Airalo and Saily) for the countries of a trip that are outside the traveller's own roaming area: inside the EU and EEA a SIM roams as at home, elsewhere only the home country counts. Give trip_id (the home country comes from the trip's home airport), or country with home_country. Returns nothing when no stop is outside the roaming area, or when no eSIM partner is set up. The links carry Got a Plan's partner ID, so Got a Plan may earn a commission on a purchase; the price is the same either way.
| Argument | Type | Description |
|---|---|---|
| country | string | A country name, e.g. "Japan", when no trip is given |
| trip_id | string | |
| home_country | string | Where the traveller's own SIM is at home; a trip uses its home airport |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"country": {
"type": "string",
"maxLength": 60,
"minLength": 2,
"description": "A country name, e.g. \"Japan\", when no trip is given"
},
"trip_id": {
"type": "string",
"maxLength": 40
},
"home_country": {
"type": "string",
"maxLength": 60,
"minLength": 2,
"description": "Where the traveller's own SIM is at home; a trip uses its home airport"
}
}
}Finds where to book a ferry, bus, minivan or train between two places on a day: a 12Go search in Asia, an Omio search in Europe, Busbud in Latin America, PeruRail and Inca Rail for Peru's trains, and the Rome2Rio route, each for the leg's own route and date, with the ride options saved for the leg. Give trip_id and leg_key for a ground leg of a saved trip, or from, to and date. Got a Plan has no timetable feed: times and prices are on the booking sites, and options worked out for a leg are saved with save_transport_options.
| Argument | Type | Description |
|---|---|---|
| to | string | |
| date | string | |
| from | string | Town, island or pier, e.g. "Krabi" |
| adults | integer | |
| country | string | Country of the two places, e.g. "Thailand" |
| leg_key | string | |
| trip_id | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"to": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"from": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "Town, island or pier, e.g. \"Krabi\""
},
"adults": {
"type": "integer",
"maximum": 9,
"minimum": 1
},
"country": {
"type": "string",
"maxLength": 60,
"description": "Country of the two places, e.g. \"Thailand\""
},
"leg_key": {
"type": "string",
"maxLength": 80
},
"trip_id": {
"type": "string",
"maxLength": 40
}
}
}Makes a link to a Trip.com search for a route and dates, where the traveller can compare live prices from airlines and agencies and book. The link carries Got a Plan's Travelpayouts partner ID, so Got a Plan may earn a commission on a booking; the price is the same either way.
| Argument | Type | Description |
|---|---|---|
| to* | string | |
| from* | string | |
| adults | integer | |
| depart* | string | |
| return | string | |
| infants | integer | Children under 2, flying on a lap |
| children | integer | Children aged 2 to 17 travelling besides the adults |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"from",
"to",
"depart"
],
"properties": {
"to": {
"type": "string",
"pattern": "^[A-Za-z]{3}$"
},
"from": {
"type": "string",
"pattern": "^[A-Za-z]{3}$"
},
"adults": {
"type": "integer",
"maximum": 9,
"minimum": 1
},
"depart": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"return": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"infants": {
"type": "integer",
"maximum": 8,
"minimum": 0,
"description": "Children under 2, flying on a lap"
},
"children": {
"type": "integer",
"maximum": 8,
"minimum": 0,
"description": "Children aged 2 to 17 travelling besides the adults"
}
}
}Returns the local picks saved in the traveller's Got a Plan account for a place.
| Argument | Type | Description |
|---|---|---|
| place* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"place"
],
"properties": {
"place": {
"type": "string",
"maxLength": 80,
"minLength": 1
}
}
}Makes a link to a Booking.com search for hotels at a place and dates, where the traveller can compare and book. Give trip_id to get one link per stop of a saved trip, with each stop's check-in and check-out dates; add stop for one stop only. Or give place, checkin and checkout.
| Argument | Type | Description |
|---|---|---|
| stop | integer | Position of the stop, 0 for the first |
| place | string | Town or area and country, e.g. "Hoi An, Vietnam" |
| price | string | Price level for a search by place; a trip uses its saved hotel preferences |
| rooms | integer | |
| wants | array | What matters for a search by place; a trip uses its saved hotel preferences |
| adults | integer | |
| checkin | string | |
| trip_id | string | |
| checkout | string | |
| children |
Lists the trips saved in the traveller's Got a Plan account, most recently changed first.
No arguments.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
}Marks one leg of a trip (a flight, ferry or drive) as booked or not booked yet, with an optional short note such as a departure time or booking reference, and what was paid for it when that differs from the price saved (it counts in the trip's cost).
| Argument | Type | Description |
|---|---|---|
| note | string | |
| price | number | What was paid, total for all travellers |
| booked* | boolean | |
| leg_key* | string | |
| trip_id* | string | |
| currency | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"trip_id",
"leg_key",
"booked"
],
"properties": {
"note": {
"type": "string",
"maxLength": 120
},
"price": {
"type": "number",
"maximum": 1000000,
"minimum": 0,
"description": "What was paid, total for all travellers"
},
"booked": {
"type": "boolean"
},
"leg_key": {
"type": "string",
"maxLength": 80
},
"trip_id": {
"type": "string",
"maxLength": 40
},
"currency": {
"type": "string",
"pattern": "^[A-Za-z]{3}$"
}
}
}For the planner itself: counts, anonymously, that a hotel, tour or booking link was opened. Nothing else is sent or kept.
| Argument | Type | Description |
|---|---|---|
| kind* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"kind"
],
"properties": {
"kind": {
"enum": [
"hotel",
"tour",
"booking"
],
"type": "string"
}
}
}Use when the traveller wants to see, continue or change a trip they planned before. Shows the interactive Got a Plan planner. With trip_id it opens that saved trip: the route with dates, the flight or road and ferry leg between stops, flights chosen so far and saved local picks. Without trip_id it opens the start screen: the traveller's trips, the one under way first, and the two ways to plan a new trip. The planner shows in the answer this is called in, current as of then: call it once at the end of an answer in which you saved a change to a trip (not after delete_trip, not when the message came from the planner), so the traveller finds the plan in the newest message.
| Argument | Type | Description |
|---|---|---|
| trip_id | string | Trip id from create_trip or list_trips |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"trip_id": {
"type": "string",
"maxLength": 40,
"description": "Trip id from create_trip or list_trips"
}
}
}Records the traveller's choices on local picks already saved for a place, by name: keep or skip each one, and for a kept one the day and part of the day (morning, afternoon or evening) it is planned for. The planner arranges kept picks into a day-by-day plan for the stay by itself; a day and part of the day set here pin a pick there. null puts a choice back: undecided, or back to the planner's own arrangement.
| Argument | Type | Description |
|---|---|---|
| place* | string | |
| choices* | array |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"place",
"choices"
],
"properties": {
"place": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"choices": {
"type": "array",
"items": {
"type": "object",
"required": [
"name"
],
"properties": {
"date": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
{
"type": "null"
}
],
"description": "The day it is planned for, during the stay"
},
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "The pick's name as saved"
},
"slot": {
"anyOf": [
{
"enum": [
"morning",
"afternoon",
"evening"
],
"type": "string"
},
{
"type": "null"
}
]
},
"status": {
"anyOf": [
{
"enum": [
"keep",
"skip"
],
"type": "string"
},
{
"type": "null"
}
]
}
}
},
"maxItems": 60,
"minItems": 1
}
}
}Use when someone wants to plan a trip, is deciding where or when to travel, or wants ideas for the days they are free. For a new trip described in a message ("I want to go on a trip to …"), reset starts a fresh draft, wishes keeps the traveller's words, and the fields hold what the words say (a month or season as its first and last day); the planner then opens at the next step still open: the country's best months, the countries that suit those dates, or the flight deals once country and dates are known, and the words stay on the first screen with a manual "I know when" / "I know where" set-up when they don't say enough. Shows Got a Plan's new-trip planner and saves what the traveller said to their draft: when they are free, how many nights, how many travel, a budget, the airports they can fly from, regions, interests, countries to compare, their wishes in their own words, and a focus on part of a country with that area's airports. The planner ranks 121 countries by the weather in those months, the flight time and the budget, and shows the flight deals saved for each; with a focus, fares are looked up to that area's airports. With country set it shows that country's best months and the fares found in each. Fields left out stay as they were.
| Argument | Type | Description |
|---|---|---|
| way | string | "prompt": from the traveller's own words (a new draft starts here); "when": they set up their free dates by hand; "where": they pick the country by hand. Left out, a draft started from words moves on by itself to the next step the words leave open |
| step | string | Screen to show: prompt; when, where, flights; or country, season for the "where" way |
| focus | array | A part of a country to travel in, with all of its airports |
| fresh | boolean | Start a new draft only when the current one has already become a trip (the planner's New trip button); otherwise carry on with it |
For the planner itself: the answers saved with show_answer whose key starts with the prefix.
| Argument | Type | Description |
|---|---|---|
| prefix* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"prefix"
],
"properties": {
"prefix": {
"type": "string",
"maxLength": 160,
"minLength": 1
}
}
}For the planner itself: the places to tap when building a trip's route on the map, and the map around them.
| Argument | Type | Description |
|---|---|---|
| trip_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"trip_id"
],
"properties": {
"trip_id": {
"type": "string",
"maxLength": 40
}
}
}Saves a tour, ticket or activity the traveller plans or booked at one stop of a trip, with its day, time, total price and booking link, and whether it is booked with its confirmation number. It counts in the trip's cost and shows in the planner's budget and bookings; a dated one goes in the trip's calendar. The same place and name updates the one saved before. Booking itself happens on the activity's own site.
| Argument | Type | Description |
|---|---|---|
| date | string | The day, during the stay at that place |
| link | string | |
| name* | string | |
| note | string | |
| time | string | |
| place* | string | The stop's place, as the trip names it |
| price | number | Total for all travellers |
| booked | boolean | |
| trip_id* | string | |
| currency | string |
Saves return fares, such as ones the traveller found or picked, or ones found with the flight-search sites the traveller picked on the planner, to the traveller's new-trip draft, for one country. The planner shows them as cards, cheapest first, each with a Book button for its site, and starts a trip from one, so they need no list in the chat. A fare from the same source for the same airports and the same dates replaces the earlier one; fares for other dates stay. Give bags and hours whenever the site shows them, so the planner can weigh a fare with no checked bag or a long journey against a dearer one. Nights are counted by the calendar, from the day the flight leaves to the day the flight home leaves (14 to 30 June is 16 nights), whatever time the flights leave or land. sites records how each picked site's search went, including a site the traveller has not connected in Claude, so the planner can say so; a site that failed is left out of the results.
| Argument | Type | Description |
|---|---|---|
| deals | array | |
| sites | array | |
| country* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"country"
],
"properties": {
"deals": {
"type": "array",
"items": {
"type": "object",
"required": [
"from",
"to",
"depart",
"return",
"price",
"currency",
"airline",
"source"
],
"properties": {
"to": {
"type": "string",
"pattern": "^[A-Za-z]{3}$"
},
"out": {
"type": "string",
"maxLength": 160,
"description": "Outbound flight: numbers and times, e.g. \"QR 70, 21:10 FRA → 13:40 SGN\""
},
"back": {
"type": "string",
"maxLength": 160,
"description": "Flight home: numbers and times"
},
"bags": {
"type": "integer",
"maximum": 4,
"minimum": 0,
"description": "Checked bags included per traveller (0 when only a cabin bag is included)"
},
"from": {
"type": "string",
"pattern": "^[A-Za-z]{3}$"
},
"link": {
"type": "string",
"maxLength": 2000,
"description": "The booking link the site gave; left out, the Book button opens the same search on the site"
},
"hours": {
"type": "number",
"maximum": 80,
"description": "Longest journey time in either direction, door to door at the airports, in hours",
"exclusiveMinimum": 0
},
"price": {
"type": "number",
"maximum": 1000000,
"description": "Total for all travellers, both ways",
"exclusiveMinimum": 0
},
"stops": {
"type": "integer",
"maximum": 6,
"minimum": 0,
"description": "Most changes in either direction"
},
"adults": {
"type": "integer",
"maximum": 9,
"minimum": 1
},
"arrive": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Day the outbound flight lands, when that is a day or more after departure"
},
"depart": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"return": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"source": {
"type": "string",
"maxLength": 40,
"minLength": 1,
"description": "Where the fare was found, e.g. the airline or Trip.com"
},
"airline": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "The airline's name; a 2-letter IATA code is turned into the name"
},
"children": {
"type": "integer",
"maximum": 8,
"minimum": 0,
"description": "Children the price covers, besides the adults"
},
"currency": {
"type": "string",
"pattern": "^[A-Za-z]{3}$"
},
"back_from": {
"type": "string",
"pattern": "^[A-Za-z]{3}$",
"description": "Where the flight home leaves from, when that isn't the arrival airport"
}
}
},
"maxItems": 40
},
"sites": {
"type": "array",
"items": {
"type": "object",
"required": [
"site",
"status"
],
"properties": {
"note": {
"type": "string",
"maxLength": 200,
"description": "One short line, e.g. what failed or how many searches ran"
},
"site": {
"enum": [
"kiwi",
"expedia",
"edreams",
"lastminute"
],
"type": "string",
"description": "The flight-search site: kiwi (Kiwi.com), expedia (Expedia), edreams (eDreams), lastminute (lastminute.com)"
},
"status": {
"enum": [
"searched",
"no_fares",
"not_connected",
"failed"
],
"type": "string",
"description": "searched: fares found and saved; no_fares: searched, nothing found; not_connected: the traveller has no such connector in Claude; failed: the search went wrong"
}
}
},
"maxItems": 4
},
"country": {
"type": "string",
"maxLength": 60,
"minLength": 2
}
}
}Saves local favourites for a place (sights, viewpoints, beaches, activities, and places to eat and drink once the days are known) to the traveller's Got a Plan account, each with a short note and the link to the post, thread or article it comes from. Adds to the saved list; a pick with the same name is updated.
| Argument | Type | Description |
|---|---|---|
| picks* | array | |
| place* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"place",
"picks"
],
"properties": {
"picks": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"kind",
"why",
"source_url"
],
"properties": {
"lat": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "Where it is, when known, so the planner can show it on the map and fly there when the traveller taps it in their day plan"
},
"lon": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "Give both lat and lon, or neither"
},
"why": {
"type": "string",
"maxLength": 300,
"minLength": 1,
"description": "What locals or recent visitors say, in one or two sentences"
},
"area": {
"type": "string",
"maxLength": 80
},
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "For a tour or ticket the traveller plans on a set day: that day, so it shows in their calendar"
},
"kind": {
"enum": [
"food",
"drink",
"beach",
"view",
"activity",
"stay",
"shop",
"other"
],
"type": "string"
},
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"time": {
"type": "string",
"maxLength": 20,
"description": "Its start time as HH:MM local, or \"HH:MM–HH:MM\""
},
"status": {
"enum": [
"keep",
"skip"
],
"type": "string",
"description": "Only when the traveller already said: \"keep\" for one they want to do, \"skip\" for one they don't"
},
"book_url": {
"type": "string",
"maxLength": 2000,
"description": "For a tour or ticket: where to book it, e.g. its GetYourGuide or Klook link from find_activities"
},
"currency": {
"type": "string",
"pattern": "^[A-Za-z]{3}$"
},
"day_trip": {
"type": "boolean",
"description": "True when it is a whole-day outing away from the stop (Sintra, a boat trip), so the day plan gives it a whole day"
},
"price_from": {
"type": "number",
"maximum": 100000,
"minimum": 0
},
"source_url": {
"type": "string",
"maxLength": 2000,
"description": "The post, thread or article the pick comes from"
}
}
},
"maxItems": 15,
"minItems": 1
},
"place": {
"type": "string",
"maxLength": 80,
"minLength": 1
}
}
}Saves the same fields as plan_new_trip to the traveller's new-trip draft without showing the planner, for when a planner is already open in the conversation, which refreshes itself. Fields left out stay as they were. For a message from the planner that starts "New trip in Got a Plan:" or "Set up my new trip in Got a Plan from these words", read the traveller's words and set every field they give: the country (or countries to compare), free dates (a month or season counts as its first and last day), nights, travellers, budget, airports, regions, interests; for a named part of a country add a focus with its name and every airport in it with scheduled passenger flights (IATA, busiest first, small ones too: Sicily is CTA, PMO, TPS, CIY). Leave way and step out so the planner moves on by itself, leave their wishes as they are, and say in two or three lines what you set. If the words are thin, save what they say first, then ask one short question.
| Argument | Type | Description |
|---|---|---|
| way | string | "prompt": from the traveller's own words (a new draft starts here); "when": they set up their free dates by hand; "where": they pick the country by hand. Left out, a draft started from words moves on by itself to the next step the words leave open |
| step | string | Screen to show: prompt; when, where, flights; or country, season for the "where" way |
| focus | array | A part of a country to travel in, with all of its airports |
| fresh | boolean | Start a new draft only when the current one has already become a trip (the planner's New trip button); otherwise carry on with it |
| reset | boolean | Start a new draft: nothing of the old one is kept but the flight sites picked; the departure airports and travellers are asked again unless given in the same call |
Saves places worth visiting on a trip, shown as pins the traveller can tap to add to the route on the planner's map. Each place needs its coordinates; give its nearest airport with scheduled flights, island true for islands, and a short why. A place saved again under the same name is updated; at most 40 are kept per trip.
| Argument | Type | Description |
|---|---|---|
| places* | array | |
| replace | boolean | True to drop the ideas saved before |
| trip_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"trip_id",
"places"
],
"properties": {
"places": {
"type": "array",
"items": {
"type": "object",
"required": [
"place",
"lat",
"lon"
],
"properties": {
"lat": {
"type": "number",
"maximum": 90,
"minimum": -90
},
"lon": {
"type": "number",
"maximum": 180,
"minimum": -180
},
"why": {
"type": "string",
"maxLength": 200,
"description": "One line on what the place is good for"
},
"place": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"island": {
"type": "boolean"
},
"airport": {
"type": "string",
"pattern": "^[A-Za-z]{3}$"
}
}
},
"maxItems": 30,
"minItems": 1
},
"replace": {
"type": "boolean",
"description": "True to drop the ideas saved before"
},
"trip_id": {
"type": "string",
"maxLength": 40
}
}
}Saves one to five hotels or other places to stay for one stop of a trip, identified by stay_key from the trip's stays, so the traveller can compare them in the planner as cards and pick one there: each with its name, a Booking.com link to that place, and what is known of its stars, review score, price for the stay and meals. Use it after searching a hotel connector for the stop's dates, best fit first. New options replace the ones saved before for that stop. It does not choose one; the traveller does, or choose_stay saves the one they name.
| Argument | Type | Description |
|---|---|---|
| options* | array | |
| trip_id* | string | |
| stay_key* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"trip_id",
"stay_key",
"options"
],
"properties": {
"options": {
"type": "array",
"items": {
"type": "object",
"required": [
"name"
],
"properties": {
"link": {
"type": "string",
"maxLength": 2000,
"description": "The place's own page on Booking.com; other sites are not accepted"
},
"name": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"note": {
"type": "string",
"maxLength": 160,
"description": "Why it fits: area, pool, free cancellation"
},
"meals": {
"enum": [
"room",
"breakfast",
"half",
"full",
"all"
],
"type": "string",
"description": "The meals the rate includes: room: Room only, breakfast: Breakfast included, half: Half board, full: Full board, all: All-inclusive"
},
"price": {
"type": "number",
"maximum": 1000000,
"minimum": 0,
"description": "Total for all nights and rooms"
},
"score": {
"type": "number",
"maximum": 10,
"minimum": 0,
"description": "Review score out of 10"
},
"stars": {
"type": "integer",
"maximum": 5,
"minimum": 1
},
"reviews": {
"type": "integer",
"maximum": 1000000,
"minimum": 0
},
"currency": {
"type": "string",
"pattern": "^[A-Za-z]{3}$"
}
}
},
"maxItems": 5,
"minItems": 1
},
"trip_id": {
"type": "string",
"maxLength": 40
},
"stay_key": {
"type": "string",
"maxLength": 160
}
}
}Saves what the traveller planned in Got a Plan (trips, the new-trip draft, local picks) to an account, so it is kept and opens in Got a Plan from any Claude; the same steps sign in to an account they already have. Without code, it sends a six-digit code to the email address (from Got a Plan's sign-in service, WorkOS); with the code from that email, everything planned so far joins the account of that address, which is made if it is new. An account that already has trips keeps them and gains these. Until saved, plans not used for 60 days are deleted. Got a Plan does not keep the email address.
| Argument | Type | Description |
|---|---|---|
| code | string | The six-digit code from the email, once it arrived |
| email* | string | The traveller's email address |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"email"
],
"properties": {
"code": {
"type": "string",
"pattern": "^\\d{6}$",
"description": "The six-digit code from the email, once it arrived"
},
"email": {
"type": "string",
"pattern": "^[^\\s@]{1,64}@[^\\s@]+\\.[^\\s@]{2,}$",
"maxLength": 254,
"description": "The traveller's email address"
}
}
}Saves the ways to make one ferry or road leg of a trip, identified by leg_key from the trip's legs, so the planner shows them with a booking search for the leg's day: each with its mode (ferry, speedboat, bus, minivan, train, taxi, flight for a small plane such as a safari fly-in, combined; drive for the traveller's own car and walk for going on foot, which have nothing to book: no booking site is attached, and the price of a drive is the fuel and tolls, per vehicle), operator, usual departure and arrival times, journey length, usual price and where it leaves from. They replace the options saved for the leg before. Times and prices are shown as usual ones, to check on the booking site (a drive or walk has no booking).
| Argument | Type | Description |
|---|---|---|
| leg_key* | string | |
| options | array | |
| trip_id* | string | |
| overland | boolean | True for a leg Got a Plan worked out as a flight that the traveller will make overland (train, bus, boat or drive) instead: it becomes a ground leg that options can be saved for; false puts it back as a flight |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"trip_id",
"leg_key"
],
"properties": {
"leg_key": {
"type": "string",
"maxLength": 80
},
"options": {
"type": "array",
"items": {
"type": "object",
"required": [
"mode"
],
"properties": {
"mode": {
"enum": [
"ferry",
"speedboat",
"bus",
"minivan",
"train",
"taxi",
"combined",
"drive",
"walk",
"flight"
],
"type": "string"
},
"note": {
"type": "string",
"maxLength": 160,
"description": "e.g. \"hotel pick-up included\", \"only Nov to Apr\", \"change at Krabi\""
},
"price": {
"type": "number",
"maximum": 100000,
"minimum": 0
},
"arrive": {
"type": "string",
"pattern": "^([01]?\\d|2[0-3]):[0-5]\\d$",
"description": "Usual arrival, local time"
},
"depart": {
"type": "string",
"pattern": "^([01]?\\d|2[0-3]):[0-5]\\d$",
"description": "Usual departure, local time"
},
"minutes": {
"type": "integer",
"maximum": 4320,
"minimum": 5,
"description": "Journey length"
},
"currency": {
"type": "string",
"pattern": "^[A-Za-z]{3}$"
},
"operator": {
"type": "string",
"maxLength": 60,
"description": "e.g. \"Opal Marine\", \"Lomprayah\", \"Green Bus\""
},
"to_point": {
"type": "string",
"maxLength": 80
},
"from_point": {
"type": "string",
"maxLength": 80,
"description": "Pier, station or pick-up, e.g. \"Nopparat Thara pier\""
},
"per_person": {
"type": "boolean",
"description": "True when the price is per person, false for the whole group or vehicle"
}
}
},
"maxItems": 8,
"minItems": 1
},
"trip_id": {
"type": "string",
"maxLength": 40
},
"overland": {
"type": "boolean",
"description": "True for a leg Got a Plan worked out as a flight that the traveller will make overland (train, bus, boat or drive) instead: it becomes a ground leg that options can be saved for; false puts it back as a flight"
}
}
}Saves what the traveller wants from the places they stay on a trip, for every stop, or with place for one place only (a jungle lodge or a one-night stop that needs something else): a price level (budget: Budget, mid: Mid-range, luxury: Luxury) and what matters (clean: Very clean, location: Great location, breakfast: Breakfast, allinc: All-inclusive, pool: Pool, family: Family-friendly, quiet: Quiet, cancel: Free cancellation). The stops' Booking.com searches from hotel_link are filtered by them where Booking.com can, and hotel searches should look for all of them. The planner shows them as chips the traveller taps. Both fields replace what was saved; give price null and wants [] to clear. With place, same_as_trip true removes that place's own choices so it follows the trip again.
| Argument | Type | Description |
|---|---|---|
| place | string | A stop's place, as the trip names it, for choices that apply there only |
| price | any | |
| wants | array | |
| trip_id* | string | |
| same_as_trip | boolean | With place: drop that place's own choices |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"trip_id"
],
"properties": {
"place": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "A stop's place, as the trip names it, for choices that apply there only"
},
"price": {
"anyOf": [
{
"enum": [
"budget",
"mid",
"luxury"
],
"type": "string"
},
{
"type": "null"
}
]
},
"wants": {
"type": "array",
"items": {
"enum": [
"clean",
"location",
"breakfast",
"allinc",
"pool",
"family",
"quiet",
"cancel"
],
"type": "string"
},
"maxItems": 8
},
"trip_id": {
"type": "string",
"maxLength": 40
},
"same_as_trip": {
"type": "boolean",
"description": "With place: drop that place's own choices"
}
}
}Changes how many nights the traveller spends at one stop of a saved trip. The stop is counted from 0 in travel order; the dates of every later stop move with it.
| Argument | Type | Description |
|---|---|---|
| stop* | integer | Position of the stop, 0 for the first |
| nights* | integer | |
| trip_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"trip_id",
"stop",
"nights"
],
"properties": {
"stop": {
"type": "integer",
"maximum": 19,
"minimum": 0,
"description": "Position of the stop, 0 for the first"
},
"nights": {
"type": "integer",
"maximum": 60,
"minimum": 0
},
"trip_id": {
"type": "string",
"maxLength": 40
}
}
}Moves a trip to another return fare saved in the new-trip draft: the trip then starts the day that flight lands and ends the day the flight home leaves. Nights are added to the longest stay, or taken from the longest stays; an arrival or departure airport that isn't on the route joins it as a stop with no nights. The fare replaces the trip's outbound and home flights.
| Argument | Type | Description |
|---|---|---|
| deal_id* | string | Deal id from the draft |
| trip_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"trip_id",
"deal_id"
],
"properties": {
"deal_id": {
"type": "string",
"maxLength": 40,
"description": "Deal id from the draft"
},
"trip_id": {
"type": "string",
"maxLength": 40
}
}
}Shows Claude's answer inside the Got a Plan planner, next to the question the traveller asked there. A message sent from the planner names the key to use in its closing note, [Got a Plan planner · answer key "K"]: pass K exactly as written inside the quotes, not when the note has no key; do not open another planner, and say one short line in the chat. The answer is plain text: a blank line starts a paragraph, a line starting with "- " is a list item, **bold** works. Links go in links. A newer answer under the same key replaces the older one.
| Argument | Type | Description |
|---|---|---|
| key* | string | The key in quotes in the planner's closing note, exactly as written |
| links | array | Booking pages, timetables or sources the answer mentions |
| answer* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"key",
"answer"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[\\w|:.,@>+\\- ]+$",
"maxLength": 160,
"minLength": 3,
"description": "The key in quotes in the planner's closing note, exactly as written"
},
"links": {
"type": "array",
"items": {
"type": "object",
"required": [
"title",
"url"
],
"properties": {
"url": {
"type": "string",
"maxLength": 500
},
"title": {
"type": "string",
"maxLength": 120,
"minLength": 1
}
}
},
"maxItems": 12,
"description": "Booking pages, timetables or sources the answer mentions"
},
"answer": {
"type": "string",
"maxLength": 6000,
"minLength": 1
}
}
}Creates a trip from a return fare saved in the new-trip draft: it starts the day the flight lands at its airport and ends the day the flight home leaves, and keeps the fare as the trip's outbound and home flights. The traveller's wishes and focus area from the draft go with it. The route between can be planned with update_trip; the planner's map shows the country's must-see places for the traveller to tap. Shows the trip in the planner.
| Argument | Type | Description |
|---|---|---|
| name | string | |
| deal_id* | string | Deal id from the draft |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"deal_id"
],
"properties": {
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"deal_id": {
"type": "string",
"maxLength": 40,
"description": "Deal id from the draft"
}
}
}Creates a trip from the new-trip draft for a traveller who needs no flight (they drive or take the train from home, or arrange the way there themselves): no departure airport and no fare are needed. It starts on the draft's first free day with one stop in the country's main city (the focus area's when the draft has one), for the draft's trip length, with the traveller's wishes and budget. The route is then planned with update_trip or on the planner's map. When the traveller starts from home, add their home town as a 0-night first and last stop with update_trip so the drives to and from home show. Shows the trip in the planner.
| Argument | Type | Description |
|---|---|---|
| name | string | |
| centre | boolean | The free window is a whole month or season, not days the traveller named: the trip starts in the middle of it, not on its first day |
| country | string | The country; the draft's chosen country when left out |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"centre": {
"type": "boolean",
"description": "The free window is a whole month or season, not days the traveller named: the trip starts in the middle of it, not on its first day"
},
"country": {
"type": "string",
"maxLength": 60,
"minLength": 2,
"description": "The country; the draft's chosen country when left out"
}
}
}Saves one to three different routes for a trip that travels around (two or three when the traveller wants to compare), for the traveller to compare: each with a short name, a line on why, and its stops in travel order with the nights at each (as in update_trip). The planner shows them side by side on the map; the trip's route stays as it is until one is chosen with choose_route. For a trip started from a flight, every option keeps the trip's nights, starts where the flight lands and ends where the flight home leaves: with the last night there, or there with 0 nights only when the last stay is within about an hour of it, so the trip to the airport is not on the morning of the flight. Between places on a fast rail network (Japan, Korea, Taiwan, Western Europe) the legs are trains. New options replace the ones saved before.
| Argument | Type | Description |
|---|---|---|
| options* | array | |
| trip_id* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"trip_id",
"options"
],
"properties": {
"options": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"stops"
],
"properties": {
"why": {
"type": "string",
"maxLength": 400,
"description": "What makes this route different, in a line or two"
},
"name": {
"type": "string",
"maxLength": 60,
"minLength": 1,
"description": "A short name, e.g. \"Islands first\" or \"The classic loop\""
},
"stops": {
"type": "array",
"items": {
"type": "object",
"required": [
"place",
"nights"
],
"properties": {
"lat": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "The place's own latitude, for places outside Got a Plan's Thailand list"
},
"lon": {
"type": "number",
"maximum": 180,
"minimum": -180
},
"place": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "Place name as the traveller says it, e.g. \"Koh Lanta\" or \"Hoi An\""
},
"island": {
"type": "boolean",
"description": "True for an island reached by boat, so the trip there is shown as a ferry. Stops on the same big island (Crete, Sri Lanka, Bali, Iceland) are driven between, so a ferry is never shown between them"
},
"nights": {
"type": "integer",
"maximum": 60,
"minimum": 0
},
"airport": {
"type": "string",
"pattern": "^[A-Za-z]{3}$",
"description": "Nearest airport with scheduled flights, for places outside Got a Plan's Thailand list"
}
}
},
"maxItems": 20,
"minItems": 1
}
}
},
"maxItems": 3,
"minItems": 1
},
"trip_id": {
"type": "string",
"maxLength": 40
}
}
}Changes a saved trip. Fields left out stay as they are; "stops", when given, replaces the whole route. Flights chosen for legs that no longer exist stay saved but are not shown; a hotel chosen for a stop whose dates moved shows as needing a new choice. A change that would move a flight the traveller marked booked is refused (mark_leg with booked false first, once the booking is changed); booked hotels and tours that leave the route are named in the reply.
| Argument | Type | Description |
|---|---|---|
| diet | array | How the traveller eats ("vegetarian", "halal", "gluten-free"); an empty list clears it. Places to eat are looked for with it |
| name | string | |
| start | string | |
| stops | array | |
| style | string | What the trip is: "base" to stay in one place, "around" to travel around; "none" clears it. Set it only when the traveller said so |
| adults | integer | |
| budget | number | What the whole trip may cost, all travellers, in budget_currency; 0 for none |
| trip_id* | string |
We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Dec 4, 2026.
| stay_key* |
| string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"trip_id",
"stay_key",
"name"
],
"properties": {
"link": {
"type": "string",
"maxLength": 2000
},
"name": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"note": {
"type": "string",
"maxLength": 160,
"description": "e.g. a booking reference, free cancellation until, what the stay includes"
},
"meals": {
"enum": [
"room",
"breakfast",
"half",
"full",
"all"
],
"type": "string",
"description": "The meals the rate includes: room: Room only, breakfast: Breakfast included, half: Half board, full: Full board, all: All-inclusive"
},
"price": {
"type": "number",
"maximum": 1000000,
"minimum": 0,
"description": "Total for all nights and rooms"
},
"booked": {
"type": "boolean"
},
"source": {
"type": "string",
"maxLength": 40,
"description": "Where the offer was found, e.g. Booking.com"
},
"trip_id": {
"type": "string",
"maxLength": 40
},
"currency": {
"type": "string",
"pattern": "^[A-Za-z]{3}$"
},
"stay_key": {
"type": "string",
"maxLength": 160
}
}
}| budget_currency |
| string |
| The currency the budget is in, such as USD or GBP; euros when left out |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"name",
"start",
"adults",
"stops"
],
"properties": {
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"start": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Date of the first night"
},
"stops": {
"type": "array",
"items": {
"type": "object",
"required": [
"place",
"nights"
],
"properties": {
"lat": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "The place's own latitude, for places outside Got a Plan's Thailand list"
},
"lon": {
"type": "number",
"maximum": 180,
"minimum": -180
},
"place": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "Place name as the traveller says it, e.g. \"Koh Lanta\" or \"Hoi An\""
},
"island": {
"type": "boolean",
"description": "True for an island reached by boat, so the trip there is shown as a ferry. Stops on the same big island (Crete, Sri Lanka, Bali, Iceland) are driven between, so a ferry is never shown between them"
},
"nights": {
"type": "integer",
"maximum": 60,
"minimum": 0
},
"airport": {
"type": "string",
"pattern": "^[A-Za-z]{3}$",
"description": "Nearest airport with scheduled flights, for places outside Got a Plan's Thailand list"
}
}
},
"maxItems": 20,
"minItems": 1
},
"adults": {
"type": "integer",
"maximum": 9,
"minimum": 1
},
"budget": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "What the whole trip may cost, all travellers, in budget_currency"
},
"children": {
"type": "array",
"items": {
"type": "integer",
"maximum": 17,
"minimum": 0
},
"maxItems": 8,
"description": "The ages of the children travelling, one each (they are not counted in adults)"
},
"home_airport": {
"type": "string",
"pattern": "^[A-Za-z]{3}$",
"description": "Where the traveller flies from and back to. Leave it out when they travel from home by train or car (a weekend in Vienna from Munich), and instead start and end the stops with their home town as a 0-night stop (Munich 0, Vienna 2, Munich 0): the trip then has train or drive legs from and to home and no flights"
},
"budget_currency": {
"type": "string",
"pattern": "^[A-Za-z]{3}$",
"description": "The currency the budget is in, such as USD or GBP; euros when left out"
}
}
}| max_price | number | Highest price per person, in EUR |
| radius_km | number | How far around the place to look; default 15 km around coordinates |
| traveller_type | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"lat": {
"type": "number",
"maximum": 90,
"minimum": -90
},
"lon": {
"type": "number",
"maximum": 180,
"minimum": -180
},
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "The day of the activity, which changes the ranking; with a trip stop, its arrival day is used"
},
"stop": {
"type": "integer",
"maximum": 19,
"minimum": 0,
"description": "The stop's number in the trip, from 0"
},
"limit": {
"type": "integer",
"default": 8,
"maximum": 20,
"minimum": 1
},
"place": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "English city or area name, e.g. \"Chiang Mai\"; not needed with trip_id and stop"
},
"trip_id": {
"type": "string",
"maxLength": 40
},
"interests": {
"type": "array",
"items": {
"type": "string",
"maxLength": 60,
"minLength": 1
},
"maxItems": 6,
"description": "In the traveller's words, e.g. \"street food\", \"snorkelling\", \"temples\""
},
"max_price": {
"type": "number",
"maximum": 10000,
"description": "Highest price per person, in EUR",
"exclusiveMinimum": 0
},
"radius_km": {
"type": "number",
"maximum": 100,
"minimum": 1,
"description": "How far around the place to look; default 15 km around coordinates"
},
"traveller_type": {
"enum": [
"solo",
"couple",
"family",
"group"
],
"type": "string"
}
}
}| array |
| The ages of the children, one each; a trip uses its own |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"stop": {
"type": "integer",
"maximum": 19,
"minimum": 0,
"description": "Position of the stop, 0 for the first"
},
"place": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "Town or area and country, e.g. \"Hoi An, Vietnam\""
},
"price": {
"enum": [
"budget",
"mid",
"luxury"
],
"type": "string",
"description": "Price level for a search by place; a trip uses its saved hotel preferences"
},
"rooms": {
"type": "integer",
"maximum": 30,
"minimum": 1
},
"wants": {
"type": "array",
"items": {
"enum": [
"clean",
"location",
"breakfast",
"allinc",
"pool",
"family",
"quiet",
"cancel"
],
"type": "string"
},
"maxItems": 8,
"description": "What matters for a search by place; a trip uses its saved hotel preferences"
},
"adults": {
"type": "integer",
"maximum": 30,
"minimum": 1
},
"checkin": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"trip_id": {
"type": "string",
"maxLength": 40
},
"checkout": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"children": {
"type": "array",
"items": {
"type": "integer",
"maximum": 17,
"minimum": 0
},
"maxItems": 10,
"description": "The ages of the children, one each; a trip uses its own"
}
}
}| reset | boolean | Start a new draft: nothing of the old one is kept but the flight sites picked; the departure airports and travellers are asked again unless given in the same call |
| adults | integer |
| budget | number | Budget for the whole trip, all travellers, flights included, in budget_currency; 0 for none |
| wishes | string | What the traveller has in mind, in their own words; empty to clear |
| compare | array | Countries to compare flights for |
| country | string | The country, when the traveller knows where to go |
| regions | array |
| children | array | The ages of the children travelling, one each |
| free_from | string | First day the traveller could leave |
| interests | array |
| free_until | string | Last day they could be back |
| max_nights | integer |
| min_nights | integer |
| flight_sites | array | Where the Flights step looks for fares, as the traveller picked them on the planner: "pinroute" is Got a Plan's own airline search; kiwi, expedia, edreams, lastminute are flight-search connectors the traveller can have in Claude. Empty for Got a Plan's own search only |
| home_airports | array | Airports the traveller can fly from, the main one first: only ones they named for this trip. Left out when they didn't say, the planner asks them |
| budget_currency | string | The currency the budget is in, such as USD or GBP; when left out, the currency of the country the traveller flies from (euros where that is not a currency Got a Plan prices) |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"way": {
"enum": [
"prompt",
"when",
"where"
],
"type": "string",
"description": "\"prompt\": from the traveller's own words (a new draft starts here); \"when\": they set up their free dates by hand; \"where\": they pick the country by hand. Left out, a draft started from words moves on by itself to the next step the words leave open"
},
"step": {
"enum": [
"prompt",
"when",
"where",
"flights",
"country",
"season"
],
"type": "string",
"description": "Screen to show: prompt; when, where, flights; or country, season for the \"where\" way"
},
"focus": {
"type": "array",
"items": {
"type": "object",
"required": [
"country",
"area",
"airports"
],
"properties": {
"area": {
"type": "string",
"maxLength": 60,
"description": "The part of the country, e.g. \"Sulawesi\"; empty to clear the focus"
},
"country": {
"type": "string",
"maxLength": 60,
"minLength": 2
},
"airports": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[A-Za-z]{3}$"
},
"maxItems": 8,
"description": "Every airport in that area with scheduled passenger flights, busiest first, small ones too: low-cost airlines often fly cheapest to them (Sicily: CTA, PMO, TPS, CIY). Fares are searched to all of these"
}
}
},
"maxItems": 8,
"description": "A part of a country to travel in, with all of its airports"
},
"fresh": {
"type": "boolean",
"description": "Start a new draft only when the current one has already become a trip (the planner's New trip button); otherwise carry on with it"
},
"reset": {
"type": "boolean",
"description": "Start a new draft: nothing of the old one is kept but the flight sites picked; the departure airports and travellers are asked again unless given in the same call"
},
"adults": {
"type": "integer",
"maximum": 9,
"minimum": 1
},
"budget": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "Budget for the whole trip, all travellers, flights included, in budget_currency; 0 for none"
},
"wishes": {
"type": "string",
"maxLength": 500,
"description": "What the traveller has in mind, in their own words; empty to clear"
},
"compare": {
"type": "array",
"items": {
"type": "string",
"maxLength": 60,
"minLength": 2
},
"maxItems": 8,
"description": "Countries to compare flights for"
},
"country": {
"type": "string",
"maxLength": 60,
"minLength": 2,
"description": "The country, when the traveller knows where to go"
},
"regions": {
"type": "array",
"items": {
"enum": [
"Southeast Asia",
"East Asia",
"South Asia & Indian Ocean",
"Middle East",
"North Africa",
"Africa",
"Southern Europe",
"Northern Europe",
"Central Europe",
"Caribbean & Central America",
"South America",
"North America",
"Oceania"
],
"type": "string"
},
"maxItems": 12
},
"children": {
"type": "array",
"items": {
"type": "integer",
"maximum": 17,
"minimum": 0
},
"maxItems": 8,
"description": "The ages of the children travelling, one each"
},
"free_from": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "First day the traveller could leave"
},
"interests": {
"type": "array",
"items": {
"enum": [
"city",
"culture",
"nature",
"beach",
"hiking",
"food"
],
"type": "string"
},
"maxItems": 6
},
"free_until": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Last day they could be back"
},
"max_nights": {
"type": "integer",
"maximum": 60,
"minimum": 1
},
"min_nights": {
"type": "integer",
"maximum": 60,
"minimum": 1
},
"flight_sites": {
"type": "array",
"items": {
"enum": [
"pinroute",
"kiwi",
"expedia",
"edreams",
"lastminute"
],
"type": "string"
},
"maxItems": 5,
"description": "Where the Flights step looks for fares, as the traveller picked them on the planner: \"pinroute\" is Got a Plan's own airline search; kiwi, expedia, edreams, lastminute are flight-search connectors the traveller can have in Claude. Empty for Got a Plan's own search only"
},
"home_airports": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[A-Za-z]{3}$"
},
"maxItems": 6,
"description": "Airports the traveller can fly from, the main one first: only ones they named for this trip. Left out when they didn't say, the planner asks them"
},
"budget_currency": {
"type": "string",
"pattern": "^[A-Za-z]{3}$",
"description": "The currency the budget is in, such as USD or GBP; when left out, the currency of the country the traveller flies from (euros where that is not a currency Got a Plan prices)"
}
}
}| confirmation | string | The booking or confirmation number |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"trip_id",
"place",
"name"
],
"properties": {
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "The day, during the stay at that place"
},
"link": {
"type": "string",
"maxLength": 2000
},
"name": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"note": {
"type": "string",
"maxLength": 120
},
"time": {
"type": "string",
"pattern": "^\\d{1,2}:\\d{2}$"
},
"place": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "The stop's place, as the trip names it"
},
"price": {
"type": "number",
"maximum": 1000000,
"minimum": 0,
"description": "Total for all travellers"
},
"booked": {
"type": "boolean"
},
"trip_id": {
"type": "string",
"maxLength": 40
},
"currency": {
"type": "string",
"pattern": "^[A-Za-z]{3}$"
},
"confirmation": {
"type": "string",
"maxLength": 60,
"description": "The booking or confirmation number"
}
}
}| adults | integer |
| budget | number | Budget for the whole trip, all travellers, flights included, in budget_currency; 0 for none |
| wishes | string | What the traveller has in mind, in their own words; empty to clear |
| compare | array | Countries to compare flights for |
| country | string | The country, when the traveller knows where to go |
| regions | array |
| children | array | The ages of the children travelling, one each |
| free_from | string | First day the traveller could leave |
| interests | array |
| free_until | string | Last day they could be back |
| max_nights | integer |
| min_nights | integer |
| flight_sites | array | Where the Flights step looks for fares, as the traveller picked them on the planner: "pinroute" is Got a Plan's own airline search; kiwi, expedia, edreams, lastminute are flight-search connectors the traveller can have in Claude. Empty for Got a Plan's own search only |
| home_airports | array | Airports the traveller can fly from, the main one first: only ones they named for this trip. Left out when they didn't say, the planner asks them |
| budget_currency | string | The currency the budget is in, such as USD or GBP; when left out, the currency of the country the traveller flies from (euros where that is not a currency Got a Plan prices) |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"way": {
"enum": [
"prompt",
"when",
"where"
],
"type": "string",
"description": "\"prompt\": from the traveller's own words (a new draft starts here); \"when\": they set up their free dates by hand; \"where\": they pick the country by hand. Left out, a draft started from words moves on by itself to the next step the words leave open"
},
"step": {
"enum": [
"prompt",
"when",
"where",
"flights",
"country",
"season"
],
"type": "string",
"description": "Screen to show: prompt; when, where, flights; or country, season for the \"where\" way"
},
"focus": {
"type": "array",
"items": {
"type": "object",
"required": [
"country",
"area",
"airports"
],
"properties": {
"area": {
"type": "string",
"maxLength": 60,
"description": "The part of the country, e.g. \"Sulawesi\"; empty to clear the focus"
},
"country": {
"type": "string",
"maxLength": 60,
"minLength": 2
},
"airports": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[A-Za-z]{3}$"
},
"maxItems": 8,
"description": "Every airport in that area with scheduled passenger flights, busiest first, small ones too: low-cost airlines often fly cheapest to them (Sicily: CTA, PMO, TPS, CIY). Fares are searched to all of these"
}
}
},
"maxItems": 8,
"description": "A part of a country to travel in, with all of its airports"
},
"fresh": {
"type": "boolean",
"description": "Start a new draft only when the current one has already become a trip (the planner's New trip button); otherwise carry on with it"
},
"reset": {
"type": "boolean",
"description": "Start a new draft: nothing of the old one is kept but the flight sites picked; the departure airports and travellers are asked again unless given in the same call"
},
"adults": {
"type": "integer",
"maximum": 9,
"minimum": 1
},
"budget": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "Budget for the whole trip, all travellers, flights included, in budget_currency; 0 for none"
},
"wishes": {
"type": "string",
"maxLength": 500,
"description": "What the traveller has in mind, in their own words; empty to clear"
},
"compare": {
"type": "array",
"items": {
"type": "string",
"maxLength": 60,
"minLength": 2
},
"maxItems": 8,
"description": "Countries to compare flights for"
},
"country": {
"type": "string",
"maxLength": 60,
"minLength": 2,
"description": "The country, when the traveller knows where to go"
},
"regions": {
"type": "array",
"items": {
"enum": [
"Southeast Asia",
"East Asia",
"South Asia & Indian Ocean",
"Middle East",
"North Africa",
"Africa",
"Southern Europe",
"Northern Europe",
"Central Europe",
"Caribbean & Central America",
"South America",
"North America",
"Oceania"
],
"type": "string"
},
"maxItems": 12
},
"children": {
"type": "array",
"items": {
"type": "integer",
"maximum": 17,
"minimum": 0
},
"maxItems": 8,
"description": "The ages of the children travelling, one each"
},
"free_from": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "First day the traveller could leave"
},
"interests": {
"type": "array",
"items": {
"enum": [
"city",
"culture",
"nature",
"beach",
"hiking",
"food"
],
"type": "string"
},
"maxItems": 6
},
"free_until": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Last day they could be back"
},
"max_nights": {
"type": "integer",
"maximum": 60,
"minimum": 1
},
"min_nights": {
"type": "integer",
"maximum": 60,
"minimum": 1
},
"flight_sites": {
"type": "array",
"items": {
"enum": [
"pinroute",
"kiwi",
"expedia",
"edreams",
"lastminute"
],
"type": "string"
},
"maxItems": 5,
"description": "Where the Flights step looks for fares, as the traveller picked them on the planner: \"pinroute\" is Got a Plan's own airline search; kiwi, expedia, edreams, lastminute are flight-search connectors the traveller can have in Claude. Empty for Got a Plan's own search only"
},
"home_airports": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[A-Za-z]{3}$"
},
"maxItems": 6,
"description": "Airports the traveller can fly from, the main one first: only ones they named for this trip. Left out when they didn't say, the planner asks them"
},
"budget_currency": {
"type": "string",
"pattern": "^[A-Za-z]{3}$",
"description": "The currency the budget is in, such as USD or GBP; when left out, the currency of the country the traveller flies from (euros where that is not a currency Got a Plan prices)"
}
}
}| children | array | The ages of the children travelling, one each; an empty list for none |
| interests | array | What the traveller wants to do on this trip, in their words ("temples", "hiking", "street food"); an empty list clears them. Local picks are looked for from these |
| keep_route | boolean | With stops: keep the route being replaced as a route option ("Your previous route"), so the traveller can go back to it with choose_route |
| route_done | boolean | The route is settled as it is, for example one city for a weekend: the planner stops asking for route options |
| self_drive | boolean | True when the traveller drives themselves (own or rental car): the trip's road legs are drives they make, with a drive time, and nothing to book |
| home_airport | string |
| budget_currency | string | The currency the budget is in, such as USD or GBP; the budget's current one (euros for a new budget) when left out |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"trip_id"
],
"properties": {
"diet": {
"type": "array",
"items": {
"type": "string",
"maxLength": 40,
"minLength": 1
},
"maxItems": 16,
"description": "How the traveller eats (\"vegetarian\", \"halal\", \"gluten-free\"); an empty list clears it. Places to eat are looked for with it"
},
"name": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"start": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"stops": {
"type": "array",
"items": {
"type": "object",
"required": [
"place",
"nights"
],
"properties": {
"lat": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "The place's own latitude, for places outside Got a Plan's Thailand list"
},
"lon": {
"type": "number",
"maximum": 180,
"minimum": -180
},
"place": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "Place name as the traveller says it, e.g. \"Koh Lanta\" or \"Hoi An\""
},
"island": {
"type": "boolean",
"description": "True for an island reached by boat, so the trip there is shown as a ferry. Stops on the same big island (Crete, Sri Lanka, Bali, Iceland) are driven between, so a ferry is never shown between them"
},
"nights": {
"type": "integer",
"maximum": 60,
"minimum": 0
},
"airport": {
"type": "string",
"pattern": "^[A-Za-z]{3}$",
"description": "Nearest airport with scheduled flights, for places outside Got a Plan's Thailand list"
}
}
},
"maxItems": 20,
"minItems": 1
},
"style": {
"enum": [
"base",
"around",
"none"
],
"type": "string",
"description": "What the trip is: \"base\" to stay in one place, \"around\" to travel around; \"none\" clears it. Set it only when the traveller said so"
},
"adults": {
"type": "integer",
"maximum": 9,
"minimum": 1
},
"budget": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "What the whole trip may cost, all travellers, in budget_currency; 0 for none"
},
"trip_id": {
"type": "string",
"maxLength": 40
},
"children": {
"type": "array",
"items": {
"type": "integer",
"maximum": 17,
"minimum": 0
},
"maxItems": 8,
"description": "The ages of the children travelling, one each; an empty list for none"
},
"interests": {
"type": "array",
"items": {
"type": "string",
"maxLength": 40,
"minLength": 1
},
"maxItems": 16,
"description": "What the traveller wants to do on this trip, in their words (\"temples\", \"hiking\", \"street food\"); an empty list clears them. Local picks are looked for from these"
},
"keep_route": {
"type": "boolean",
"description": "With stops: keep the route being replaced as a route option (\"Your previous route\"), so the traveller can go back to it with choose_route"
},
"route_done": {
"type": "boolean",
"description": "The route is settled as it is, for example one city for a weekend: the planner stops asking for route options"
},
"self_drive": {
"type": "boolean",
"description": "True when the traveller drives themselves (own or rental car): the trip's road legs are drives they make, with a drive time, and nothing to book"
},
"home_airport": {
"type": "string",
"pattern": "^[A-Za-z]{3}$"
},
"budget_currency": {
"type": "string",
"pattern": "^[A-Za-z]{3}$",
"description": "The currency the budget is in, such as USD or GBP; the budget's current one (euros for a new budget) when left out"
}
}
}