Start a trip from a flight
start_trip_from_flightCreates 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.
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": {
"deal_id": "<deal_id>"
},
"name": "start_trip_from_flight"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| deal_id | Yes | Deal id from the draft |