Tool tree
Private aircraft charter search and quotations from PrivateJet.com.
Implementation
gradeNot graded
gradeNot graded
search_charter_flightsAnswer
Search privatejet.com for available private charter aircraft on a route. Fills the visible search form and runs the search, exactly as a person would. IMPORTANT: with auto_submit true the browser navigates to the results page, so this tool cannot return the results to you — read them from the page that loads. Use auto_submit false to fill the form and leave the search for the person to run.
View tool JSON
{
"name": "search_charter_flights",
"kind": "answer",
"impl": "imperative",
"description": "Search privatejet.com for available private charter aircraft on a route. Fills the visible search form and runs the search, exactly as a person would. IMPORTANT: with auto_submit true the browser navigates to the results page, so this tool cannot return the results to you — read them from the page that loads. Use auto_submit false to fill the form and leave the search for the person to run.",
"inputSchema": {
"type": "object",
"properties": {
"flight_type": {
"type": "string",
"enum": [
"oneway",
"roundtrip",
"multi"
],
"description": "Trip type. Use \"oneway\" unless the traveller asked for a return or a multi-city itinerary."
},
"passengers": {
"type": "integer",
"minimum": 1,
"maximum": 220,
"description": "Number of passengers travelling."
},
"currency": {
"type": "string",
"enum": [
"USD",
"EUR",
"GBP",
"CAD"
],
"description": "Currency for quoted prices."
},
"legs": {
"type": "array",
"minItems": 1,
"maxItems": 6,
"description": "Flight legs in order. One leg for a one-way trip, two for a return.",
"items": {
"type": "object",
"properties": {
"from": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 160,
"description": "Airport name as a person would write it, e.g. \"Teterboro Airport\". Required."
},
"iata": {
"type": "string",
"pattern": "^[A-Z]{3}$",
"description": "Three-letter IATA code, uppercase, e.g. \"TEB\". Optional — many small fields have none."
},
"icao": {
"type": "string",
"pattern": "^[A-Z]{4}$",
"description": "Four-letter ICAO code, uppercase, e.g. \"KTEB\". Optional, but it makes the match unambiguous."
}
},
"required": [
"name"
]
},
"to": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 160,
"description": "Airport name as a person would write it, e.g. \"Teterboro Airport\". Required."
},
"iata": {
"type": "string",
"pattern": "^[A-Z]{3}$",
"description": "Three-letter IATA code, uppercase, e.g. \"TEB\". Optional — many small fields have none."
},
"icao": {
"type": "string",
"pattern": "^[A-Z]{4}$",
"description": "Four-letter ICAO code, uppercase, e.g. \"KTEB\". Optional, but it makes the match unambiguous."
}
},
"required": [
"name"
]
},
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Departure date as YYYY-MM-DD. Must not be in the past."
},
"time": {
"type": "string",
"pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
"description": "Departure time as HH:MM, 24-hour. Optional; the form defaults it when omitted."
}
},
"required": [
"from",
"to",
"date"
]
}
},
"auto_submit": {
"type": "boolean",
"description": "When true the page runs the search itself and NAVIGATES to the results page. See the tool description for what that means for the return value."
}
},
"required": [
"legs"
]
}
}