Create a trip route
create_tripUse 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.
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": {
"name": "<name>",
"start": "<start>",
"adults": "<adults>",
"stops": "<stops>"
},
"name": "create_trip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| start | Yes | Date of the first night | |
| stops | Yes | ||
| adults | Yes | ||
| budget | No | What the whole trip may cost, all travellers, in budget_currency | |
| children | No | The ages of the children travelling, one each (they are not counted in adults) | |
| home_airport | No | 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 | No | The currency the budget is in, such as USD or GBP; euros when left out |