searchFlightItineraries
Find purchasable flight options and lowest prices by entering departure and arrival city codes (e.g., BJS for Beijing) along with the departure date (YYYY-MM-DD).
Instructions
Search for purchasable flight options and the lowest price using the departure city three-letter code, arrival city three-letter code, and departure date. (e.g. BJS for Beijing, SHA for Shanghai, CAN for Guangzhou, HFE for Hefei).
Input Schema
Name | Required | Description | Default |
---|---|---|---|
arrCityCode | Yes | Arrival city 3-letter code (e.g. BJS for Beijing, SHA for Shanghai, CAN for Guangzhou, HFE for Hefei) | |
depCityCode | Yes | Departure city 3-letter code (e.g. BJS for Beijing, SHA for Shanghai, CAN for Guangzhou, HFE for Hefei) | |
depDate | Yes | Departure city date (format: YYYY-MM-DD, e.g., 2025-07-04).IMPORTANT: If user input only cotains month and date, you should use getTodayDate tool to get the year. For today's date, use getTodayDate tool instead of hardcoding |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"arrCityCode": {
"description": "Arrival city 3-letter code (e.g. BJS for Beijing, SHA for Shanghai, CAN for Guangzhou, HFE for Hefei)",
"pattern": "^[A-Z]{3}$",
"type": "string"
},
"depCityCode": {
"description": "Departure city 3-letter code (e.g. BJS for Beijing, SHA for Shanghai, CAN for Guangzhou, HFE for Hefei)",
"pattern": "^[A-Z]{3}$",
"type": "string"
},
"depDate": {
"description": "Departure city date (format: YYYY-MM-DD, e.g., 2025-07-04).IMPORTANT: If user input only cotains month and date, you should use getTodayDate tool to get the year. For today's date, use getTodayDate tool instead of hardcoding",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"type": "string"
}
},
"required": [
"depCityCode",
"depDate",
"arrCityCode"
],
"type": "object"
}