You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
desc: "Return list of Flight Offers based on searching criteria.",
17
-
args: {
18
-
originLocationCode: {
19
-
type: "string",
20
-
desc: "city/airport IATA code from which the traveler will depart, e.g. BOS for Boston\nExample : SYD",
21
-
required: true,
14
+
athena.registerTool(
15
+
{
16
+
name: "amadeus/flight-offers-search",
17
+
desc: "Return list of Flight Offers based on searching criteria.",
18
+
args: {
19
+
originLocationCode: {
20
+
type: "string",
21
+
desc: "city/airport IATA code from which the traveler will depart, e.g. BOS for Boston\nExample : SYD",
22
+
required: true,
23
+
},
24
+
destinationLocationCode: {
25
+
type: "string",
26
+
desc: "city/airport IATA code to which the traveler is going, e.g. PAR for Paris\nExample : BKK",
27
+
required: true,
28
+
},
29
+
departureDate: {
30
+
type: "string",
31
+
desc: "the date on which the traveler will depart from the origin to go to the destination. Dates are specified in the ISO 8601 YYYY-MM-DD format, e.g. 2017-12-25\nExample : 2023-05-02",
32
+
required: true,
33
+
},
34
+
returnDate: {
35
+
type: "string",
36
+
desc: "the date on which the traveler will depart from the origin to go to the destination. Dates are specified in the ISO 8601 YYYY-MM-DD format, e.g. 2017-12-25\nExample : 2023-05-02",
37
+
required: false,
38
+
},
39
+
adults: {
40
+
type: "number",
41
+
desc: "the number of adult travelers (age 12 or older on date of departure). The total number of seated travelers (adult and children) can not exceed 9.\nDefault value : 1",
42
+
required: true,
43
+
},
44
+
children: {
45
+
type: "number",
46
+
desc: "the number of child travelers (older than age 2 and younger than age 12 on date of departure) who will each have their own separate seat. If specified, this number should be greater than or equal to 0\nThe total number of seated travelers (adult and children) can not exceed 9.",
47
+
required: false,
48
+
},
49
+
infants: {
50
+
type: "number",
51
+
desc: "the number of infant travelers (whose age is less or equal to 2 on date of departure). Infants travel on the lap of an adult traveler, and thus the number of infants must not exceed the number of adults. If specified, this number should be greater than or equal to 0",
52
+
required: false,
53
+
},
54
+
travelClass: {
55
+
type: "string",
56
+
desc: "most of the flight time should be spent in a cabin of this quality or higher. The accepted travel class is economy, premium economy, business or first class. If no travel class is specified, the search considers any travel class\nAvailable values : ECONOMY, PREMIUM_ECONOMY, BUSINESS, FIRST",
57
+
required: false,
58
+
},
59
+
includedAirlineCodes: {
60
+
type: "string",
61
+
desc: "This option ensures that the system will only consider these airlines. This can not be cumulated with parameter excludedAirlineCodes.\nAirlines are specified as IATA airline codes and are comma-separated, e.g. 6X,7X,8X",
62
+
required: false,
63
+
},
64
+
excludedAirlineCodes: {
65
+
type: "string",
66
+
desc: "This option ensures that the system will ignore these airlines. This can not be cumulated with parameter includedAirlineCodes.\nAirlines are specified as IATA airline codes and are comma-separated, e.g. 6X,7X,8X",
67
+
required: false,
68
+
},
69
+
nonStop: {
70
+
type: "boolean",
71
+
desc: "if set to true, the search will find only flights going from the origin to the destination with no stop in between\nDefault value : false",
72
+
required: false,
73
+
},
74
+
currencyCode: {
75
+
type: "string",
76
+
desc: "the preferred currency for the flight offers. Currency is specified in the ISO 4217 format, e.g. EUR for Euro",
77
+
required: false,
78
+
},
79
+
maxPrice: {
80
+
type: "number",
81
+
desc: "maximum price per traveler. By default, no limit is applied. If specified, the value should be a positive number with no decimals",
82
+
required: false,
83
+
},
84
+
max: {
85
+
type: "number",
86
+
desc: "maximum number of flight offers to return. If specified, the value should be greater than or equal to 1\nDefault value : 250",
87
+
required: false,
88
+
},
22
89
},
23
-
destinationLocationCode: {
24
-
type: "string",
25
-
desc: "city/airport IATA code to which the traveler is going, e.g. PAR for Paris\nExample : BKK",
26
-
required: true,
27
-
},
28
-
departureDate: {
29
-
type: "string",
30
-
desc: "the date on which the traveler will depart from the origin to go to the destination. Dates are specified in the ISO 8601 YYYY-MM-DD format, e.g. 2017-12-25\nExample : 2023-05-02",
31
-
required: true,
32
-
},
33
-
returnDate: {
34
-
type: "string",
35
-
desc: "the date on which the traveler will depart from the origin to go to the destination. Dates are specified in the ISO 8601 YYYY-MM-DD format, e.g. 2017-12-25\nExample : 2023-05-02",
36
-
required: false,
37
-
},
38
-
adults: {
39
-
type: "number",
40
-
desc: "the number of adult travelers (age 12 or older on date of departure). The total number of seated travelers (adult and children) can not exceed 9.\nDefault value : 1",
41
-
required: true,
42
-
},
43
-
children: {
44
-
type: "number",
45
-
desc: "the number of child travelers (older than age 2 and younger than age 12 on date of departure) who will each have their own separate seat. If specified, this number should be greater than or equal to 0\nThe total number of seated travelers (adult and children) can not exceed 9.",
46
-
required: false,
47
-
},
48
-
infants: {
49
-
type: "number",
50
-
desc: "the number of infant travelers (whose age is less or equal to 2 on date of departure). Infants travel on the lap of an adult traveler, and thus the number of infants must not exceed the number of adults. If specified, this number should be greater than or equal to 0",
51
-
required: false,
52
-
},
53
-
travelClass: {
54
-
type: "string",
55
-
desc: "most of the flight time should be spent in a cabin of this quality or higher. The accepted travel class is economy, premium economy, business or first class. If no travel class is specified, the search considers any travel class\nAvailable values : ECONOMY, PREMIUM_ECONOMY, BUSINESS, FIRST",
56
-
required: false,
57
-
},
58
-
includedAirlineCodes: {
59
-
type: "string",
60
-
desc: "This option ensures that the system will only consider these airlines. This can not be cumulated with parameter excludedAirlineCodes.\nAirlines are specified as IATA airline codes and are comma-separated, e.g. 6X,7X,8X",
61
-
required: false,
62
-
},
63
-
excludedAirlineCodes: {
64
-
type: "string",
65
-
desc: "This option ensures that the system will ignore these airlines. This can not be cumulated with parameter includedAirlineCodes.\nAirlines are specified as IATA airline codes and are comma-separated, e.g. 6X,7X,8X",
66
-
required: false,
67
-
},
68
-
nonStop: {
69
-
type: "boolean",
70
-
desc: "if set to true, the search will find only flights going from the origin to the destination with no stop in between\nDefault value : false",
71
-
required: false,
72
-
},
73
-
currencyCode: {
74
-
type: "string",
75
-
desc: "the preferred currency for the flight offers. Currency is specified in the ISO 4217 format, e.g. EUR for Euro",
76
-
required: false,
77
-
},
78
-
maxPrice: {
79
-
type: "number",
80
-
desc: "maximum price per traveler. By default, no limit is applied. If specified, the value should be a positive number with no decimals",
81
-
required: false,
82
-
},
83
-
max: {
84
-
type: "number",
85
-
desc: "maximum number of flight offers to return. If specified, the value should be greater than or equal to 1\nDefault value : 250",
0 commit comments