oci-generativeaiagent 2.106.0 → 2.106.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (180) hide show
  1. package/lib/client.d.ts +50 -0
  2. package/lib/client.js +337 -0
  3. package/lib/client.js.map +1 -1
  4. package/lib/generativeaiagent-waiter.d.ts +8 -0
  5. package/lib/generativeaiagent-waiter.js +12 -0
  6. package/lib/generativeaiagent-waiter.js.map +1 -1
  7. package/lib/model/agent-endpoint-summary.d.ts +13 -0
  8. package/lib/model/agent-endpoint-summary.js +18 -0
  9. package/lib/model/agent-endpoint-summary.js.map +1 -1
  10. package/lib/model/agent-endpoint.d.ts +13 -0
  11. package/lib/model/agent-endpoint.js +18 -0
  12. package/lib/model/agent-endpoint.js.map +1 -1
  13. package/lib/model/agent-summary.d.ts +3 -1
  14. package/lib/model/agent-summary.js +28 -2
  15. package/lib/model/agent-summary.js.map +1 -1
  16. package/lib/model/agent.d.ts +3 -1
  17. package/lib/model/agent.js +28 -2
  18. package/lib/model/agent.js.map +1 -1
  19. package/lib/model/api-schema-inline-input-location.d.ts +37 -0
  20. package/lib/model/api-schema-inline-input-location.js +63 -0
  21. package/lib/model/api-schema-inline-input-location.js.map +1 -0
  22. package/lib/model/api-schema-input-location.d.ts +31 -0
  23. package/lib/model/api-schema-input-location.js +81 -0
  24. package/lib/model/api-schema-input-location.js.map +1 -0
  25. package/lib/model/api-schema-object-storage-input-location.d.ts +46 -0
  26. package/lib/model/api-schema-object-storage-input-location.js +63 -0
  27. package/lib/model/api-schema-object-storage-input-location.js.map +1 -0
  28. package/lib/model/content-moderation-guardrail-config.d.ts +39 -0
  29. package/lib/model/content-moderation-guardrail-config.js +38 -0
  30. package/lib/model/content-moderation-guardrail-config.js.map +1 -0
  31. package/lib/model/create-agent-details.d.ts +3 -1
  32. package/lib/model/create-agent-details.js +28 -2
  33. package/lib/model/create-agent-details.js.map +1 -1
  34. package/lib/model/create-agent-endpoint-details.d.ts +13 -0
  35. package/lib/model/create-agent-endpoint-details.js +18 -0
  36. package/lib/model/create-agent-endpoint-details.js.map +1 -1
  37. package/lib/model/create-data-source-details.d.ts +6 -0
  38. package/lib/model/create-data-source-details.js.map +1 -1
  39. package/lib/model/create-tool-details.d.ts +77 -0
  40. package/lib/model/create-tool-details.js +64 -0
  41. package/lib/model/create-tool-details.js.map +1 -0
  42. package/lib/model/data-source.d.ts +6 -0
  43. package/lib/model/data-source.js.map +1 -1
  44. package/lib/model/function-calling-tool-config.d.ts +35 -0
  45. package/lib/model/function-calling-tool-config.js +65 -0
  46. package/lib/model/function-calling-tool-config.js.map +1 -0
  47. package/lib/model/function.d.ts +46 -0
  48. package/lib/model/function.js +38 -0
  49. package/lib/model/function.js.map +1 -0
  50. package/lib/model/guardrail-config.d.ts +34 -0
  51. package/lib/model/guardrail-config.js +78 -0
  52. package/lib/model/guardrail-config.js.map +1 -0
  53. package/lib/model/guardrail-mode.d.ts +38 -0
  54. package/lib/model/guardrail-mode.js +49 -0
  55. package/lib/model/guardrail-mode.js.map +1 -0
  56. package/lib/model/http-endpoint-auth-config.d.ts +32 -0
  57. package/lib/model/http-endpoint-auth-config.js +89 -0
  58. package/lib/model/http-endpoint-auth-config.js.map +1 -0
  59. package/lib/model/http-endpoint-delegated-bearer-auth-config.d.ts +35 -0
  60. package/lib/model/http-endpoint-delegated-bearer-auth-config.js +63 -0
  61. package/lib/model/http-endpoint-delegated-bearer-auth-config.js.map +1 -0
  62. package/lib/model/http-endpoint-idcs-auth-config.d.ts +35 -0
  63. package/lib/model/http-endpoint-idcs-auth-config.js +69 -0
  64. package/lib/model/http-endpoint-idcs-auth-config.js.map +1 -0
  65. package/lib/model/http-endpoint-no-auth-config.d.ts +34 -0
  66. package/lib/model/http-endpoint-no-auth-config.js +63 -0
  67. package/lib/model/http-endpoint-no-auth-config.js.map +1 -0
  68. package/lib/model/http-endpoint-oci-resource-principal-auth-config.d.ts +34 -0
  69. package/lib/model/http-endpoint-oci-resource-principal-auth-config.js +63 -0
  70. package/lib/model/http-endpoint-oci-resource-principal-auth-config.js.map +1 -0
  71. package/lib/model/http-endpoint-tool-config.d.ts +40 -0
  72. package/lib/model/http-endpoint-tool-config.js +75 -0
  73. package/lib/model/http-endpoint-tool-config.js.map +1 -0
  74. package/lib/model/human-input-config.d.ts +35 -0
  75. package/lib/model/human-input-config.js +38 -0
  76. package/lib/model/human-input-config.js.map +1 -0
  77. package/lib/model/index.d.ts +68 -0
  78. package/lib/model/index.js +70 -2
  79. package/lib/model/index.js.map +1 -1
  80. package/lib/model/inline-input-location.d.ts +37 -0
  81. package/lib/model/inline-input-location.js +61 -0
  82. package/lib/model/inline-input-location.js.map +1 -0
  83. package/lib/model/input-location.d.ts +31 -0
  84. package/lib/model/input-location.js +81 -0
  85. package/lib/model/input-location.js.map +1 -0
  86. package/lib/model/knowledge-base-config.d.ts +35 -0
  87. package/lib/model/knowledge-base-config.js +38 -0
  88. package/lib/model/knowledge-base-config.js.map +1 -0
  89. package/lib/model/llm-config.d.ts +33 -0
  90. package/lib/model/llm-config.js +66 -0
  91. package/lib/model/llm-config.js.map +1 -0
  92. package/lib/model/llm-customization.d.ts +35 -0
  93. package/lib/model/llm-customization.js +38 -0
  94. package/lib/model/llm-customization.js.map +1 -0
  95. package/lib/model/object-storage-input-location.d.ts +46 -0
  96. package/lib/model/object-storage-input-location.js +63 -0
  97. package/lib/model/object-storage-input-location.js.map +1 -0
  98. package/lib/model/object-storage-prefix-output-location.d.ts +46 -0
  99. package/lib/model/object-storage-prefix-output-location.js +63 -0
  100. package/lib/model/object-storage-prefix-output-location.js.map +1 -0
  101. package/lib/model/object-storage-prefix.d.ts +1 -1
  102. package/lib/model/operation-type.d.ts +4 -0
  103. package/lib/model/operation-type.js +4 -0
  104. package/lib/model/operation-type.js.map +1 -1
  105. package/lib/model/output-config.d.ts +37 -0
  106. package/lib/model/output-config.js +66 -0
  107. package/lib/model/output-config.js.map +1 -0
  108. package/lib/model/output-location.d.ts +32 -0
  109. package/lib/model/output-location.js +77 -0
  110. package/lib/model/output-location.js.map +1 -0
  111. package/lib/model/personally-identifiable-information-guardrail-config.d.ts +39 -0
  112. package/lib/model/personally-identifiable-information-guardrail-config.js +38 -0
  113. package/lib/model/personally-identifiable-information-guardrail-config.js.map +1 -0
  114. package/lib/model/prompt-injection-guardrail-config.d.ts +35 -0
  115. package/lib/model/prompt-injection-guardrail-config.js +38 -0
  116. package/lib/model/prompt-injection-guardrail-config.js.map +1 -0
  117. package/lib/model/rag-tool-config.d.ts +39 -0
  118. package/lib/model/rag-tool-config.js +77 -0
  119. package/lib/model/rag-tool-config.js.map +1 -0
  120. package/lib/model/sql-tool-config.d.ts +73 -0
  121. package/lib/model/sql-tool-config.js +111 -0
  122. package/lib/model/sql-tool-config.js.map +1 -0
  123. package/lib/model/tool-collection.d.ts +36 -0
  124. package/lib/model/tool-collection.js +70 -0
  125. package/lib/model/tool-collection.js.map +1 -0
  126. package/lib/model/tool-config.d.ts +32 -0
  127. package/lib/model/tool-config.js +89 -0
  128. package/lib/model/tool-config.js.map +1 -0
  129. package/lib/model/tool-summary.d.ts +110 -0
  130. package/lib/model/tool-summary.js +64 -0
  131. package/lib/model/tool-summary.js.map +1 -0
  132. package/lib/model/tool.d.ts +125 -0
  133. package/lib/model/tool.js +78 -0
  134. package/lib/model/tool.js.map +1 -0
  135. package/lib/model/update-agent-details.d.ts +3 -1
  136. package/lib/model/update-agent-details.js +28 -2
  137. package/lib/model/update-agent-details.js.map +1 -1
  138. package/lib/model/update-agent-endpoint-details.d.ts +13 -0
  139. package/lib/model/update-agent-endpoint-details.js +18 -0
  140. package/lib/model/update-agent-endpoint-details.js.map +1 -1
  141. package/lib/model/update-data-source-details.d.ts +6 -0
  142. package/lib/model/update-data-source-details.js.map +1 -1
  143. package/lib/model/update-tool-details.d.ts +69 -0
  144. package/lib/model/update-tool-details.js +64 -0
  145. package/lib/model/update-tool-details.js.map +1 -0
  146. package/lib/request/create-tool-request.d.ts +40 -0
  147. package/lib/request/create-tool-request.js +15 -0
  148. package/lib/request/create-tool-request.js.map +1 -0
  149. package/lib/request/delete-tool-request.d.ts +38 -0
  150. package/lib/request/delete-tool-request.js +15 -0
  151. package/lib/request/delete-tool-request.js.map +1 -0
  152. package/lib/request/get-tool-request.d.ts +30 -0
  153. package/lib/request/get-tool-request.js +15 -0
  154. package/lib/request/get-tool-request.js.map +1 -0
  155. package/lib/request/index.d.ts +10 -0
  156. package/lib/request/index.js +3 -1
  157. package/lib/request/index.js.map +1 -1
  158. package/lib/request/list-tools-request.d.ts +75 -0
  159. package/lib/request/list-tools-request.js +24 -0
  160. package/lib/request/list-tools-request.js.map +1 -0
  161. package/lib/request/update-tool-request.d.ts +43 -0
  162. package/lib/request/update-tool-request.js +15 -0
  163. package/lib/request/update-tool-request.js.map +1 -0
  164. package/lib/response/create-tool-response.d.ts +44 -0
  165. package/lib/response/create-tool-response.js +15 -0
  166. package/lib/response/create-tool-response.js.map +1 -0
  167. package/lib/response/delete-tool-response.d.ts +26 -0
  168. package/lib/response/delete-tool-response.js +15 -0
  169. package/lib/response/delete-tool-response.js.map +1 -0
  170. package/lib/response/get-tool-response.d.ts +30 -0
  171. package/lib/response/get-tool-response.js +15 -0
  172. package/lib/response/get-tool-response.js.map +1 -0
  173. package/lib/response/index.d.ts +10 -0
  174. package/lib/response/list-tools-response.d.ts +31 -0
  175. package/lib/response/list-tools-response.js +15 -0
  176. package/lib/response/list-tools-response.js.map +1 -0
  177. package/lib/response/update-tool-response.d.ts +26 -0
  178. package/lib/response/update-tool-response.js +15 -0
  179. package/lib/response/update-tool-response.js.map +1 -0
  180. package/package.json +3 -3
@@ -0,0 +1,111 @@
1
+ "use strict";
2
+ /**
3
+ * Generative AI Agents Management API
4
+ * OCI Generative AI Agents is a fully managed service that combines the power of large language models (LLMs) with an intelligent retrieval system to create contextually relevant answers by searching your knowledge base, making your AI applications smart and efficient.
5
+
6
+ OCI Generative AI Agents supports several ways to onboard your data and then allows you and your customers to interact with your data using a chat interface or API.
7
+
8
+ Use the Generative AI Agents API to create and manage agents, knowledge bases, data sources, endpoints, data ingestion jobs, and work requests.
9
+
10
+ For creating and managing client chat sessions see the {@link #eNGenerative-ai-agents-clientLatest(ENGenerative-ai-agents-clientLatestRequest) eNGenerative-ai-agents-clientLatest}.
11
+
12
+ To learn more about the service, see the [Generative AI Agents documentation](https://docs.oracle.com/iaas/Content/generative-ai-agents/home.htm).
13
+
14
+ * OpenAPI spec version: 20240531
15
+ *
16
+ *
17
+ * NOTE: This class is auto generated by OracleSDKGenerator.
18
+ * Do not edit the class manually.
19
+ *
20
+ * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
21
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
22
+ */
23
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
24
+ if (k2 === undefined) k2 = k;
25
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
26
+ }) : (function(o, m, k, k2) {
27
+ if (k2 === undefined) k2 = k;
28
+ o[k2] = m[k];
29
+ }));
30
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
31
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
32
+ }) : function(o, v) {
33
+ o["default"] = v;
34
+ });
35
+ var __importStar = (this && this.__importStar) || function (mod) {
36
+ if (mod && mod.__esModule) return mod;
37
+ var result = {};
38
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
39
+ __setModuleDefault(result, mod);
40
+ return result;
41
+ };
42
+ Object.defineProperty(exports, "__esModule", { value: true });
43
+ exports.SqlToolConfig = void 0;
44
+ const model = __importStar(require("../model"));
45
+ var SqlToolConfig;
46
+ (function (SqlToolConfig) {
47
+ let Dialect;
48
+ (function (Dialect) {
49
+ Dialect["SqlLite"] = "SQL_LITE";
50
+ Dialect["OracleSql"] = "ORACLE_SQL";
51
+ /**
52
+ * This value is used if a service returns a value for this enum that is not recognized by this
53
+ * version of the SDK.
54
+ */
55
+ Dialect["UnknownValue"] = "UNKNOWN_VALUE";
56
+ })(Dialect = SqlToolConfig.Dialect || (SqlToolConfig.Dialect = {}));
57
+ let ModelSize;
58
+ (function (ModelSize) {
59
+ ModelSize["Small"] = "SMALL";
60
+ ModelSize["Large"] = "LARGE";
61
+ /**
62
+ * This value is used if a service returns a value for this enum that is not recognized by this
63
+ * version of the SDK.
64
+ */
65
+ ModelSize["UnknownValue"] = "UNKNOWN_VALUE";
66
+ })(ModelSize = SqlToolConfig.ModelSize || (SqlToolConfig.ModelSize = {}));
67
+ function getJsonObj(obj, isParentJsonObj) {
68
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj ? obj : model.ToolConfig.getJsonObj(obj))), {
69
+ "iclExamples": obj.iclExamples
70
+ ? model.InputLocation.getJsonObj(obj.iclExamples)
71
+ : undefined,
72
+ "databaseSchema": obj.databaseSchema
73
+ ? model.InputLocation.getJsonObj(obj.databaseSchema)
74
+ : undefined,
75
+ "tableAndColumnDescription": obj.tableAndColumnDescription
76
+ ? model.InputLocation.getJsonObj(obj.tableAndColumnDescription)
77
+ : undefined,
78
+ "generationLlmCustomization": obj.generationLlmCustomization
79
+ ? model.LlmCustomization.getJsonObj(obj.generationLlmCustomization)
80
+ : undefined,
81
+ "databaseConnection": obj.databaseConnection
82
+ ? model.DatabaseConnection.getJsonObj(obj.databaseConnection)
83
+ : undefined
84
+ });
85
+ return jsonObj;
86
+ }
87
+ SqlToolConfig.getJsonObj = getJsonObj;
88
+ SqlToolConfig.toolConfigType = "SQL_TOOL_CONFIG";
89
+ function getDeserializedJsonObj(obj, isParentJsonObj) {
90
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj ? obj : model.ToolConfig.getDeserializedJsonObj(obj))), {
91
+ "iclExamples": obj.iclExamples
92
+ ? model.InputLocation.getDeserializedJsonObj(obj.iclExamples)
93
+ : undefined,
94
+ "databaseSchema": obj.databaseSchema
95
+ ? model.InputLocation.getDeserializedJsonObj(obj.databaseSchema)
96
+ : undefined,
97
+ "tableAndColumnDescription": obj.tableAndColumnDescription
98
+ ? model.InputLocation.getDeserializedJsonObj(obj.tableAndColumnDescription)
99
+ : undefined,
100
+ "generationLlmCustomization": obj.generationLlmCustomization
101
+ ? model.LlmCustomization.getDeserializedJsonObj(obj.generationLlmCustomization)
102
+ : undefined,
103
+ "databaseConnection": obj.databaseConnection
104
+ ? model.DatabaseConnection.getDeserializedJsonObj(obj.databaseConnection)
105
+ : undefined
106
+ });
107
+ return jsonObj;
108
+ }
109
+ SqlToolConfig.getDeserializedJsonObj = getDeserializedJsonObj;
110
+ })(SqlToolConfig = exports.SqlToolConfig || (exports.SqlToolConfig = {}));
111
+ //# sourceMappingURL=sql-tool-config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sql-tool-config.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagent/lib/model/sql-tool-config.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,36 @@
1
+ /**
2
+ * Generative AI Agents Management API
3
+ * OCI Generative AI Agents is a fully managed service that combines the power of large language models (LLMs) with an intelligent retrieval system to create contextually relevant answers by searching your knowledge base, making your AI applications smart and efficient.
4
+
5
+ OCI Generative AI Agents supports several ways to onboard your data and then allows you and your customers to interact with your data using a chat interface or API.
6
+
7
+ Use the Generative AI Agents API to create and manage agents, knowledge bases, data sources, endpoints, data ingestion jobs, and work requests.
8
+
9
+ For creating and managing client chat sessions see the {@link #eNGenerative-ai-agents-clientLatest(ENGenerative-ai-agents-clientLatestRequest) eNGenerative-ai-agents-clientLatest}.
10
+
11
+ To learn more about the service, see the [Generative AI Agents documentation](https://docs.oracle.com/iaas/Content/generative-ai-agents/home.htm).
12
+
13
+ * OpenAPI spec version: 20240531
14
+ *
15
+ *
16
+ * NOTE: This class is auto generated by OracleSDKGenerator.
17
+ * Do not edit the class manually.
18
+ *
19
+ * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
20
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
21
+ */
22
+ import * as model from "../model";
23
+ /**
24
+ * Results of a Tool search. Contains both ToolSummary items and other information, such as metadata.
25
+ *
26
+ */
27
+ export interface ToolCollection {
28
+ /**
29
+ * List of Tools.
30
+ */
31
+ "items": Array<model.ToolSummary>;
32
+ }
33
+ export declare namespace ToolCollection {
34
+ function getJsonObj(obj: ToolCollection): object;
35
+ function getDeserializedJsonObj(obj: ToolCollection): object;
36
+ }
@@ -0,0 +1,70 @@
1
+ "use strict";
2
+ /**
3
+ * Generative AI Agents Management API
4
+ * OCI Generative AI Agents is a fully managed service that combines the power of large language models (LLMs) with an intelligent retrieval system to create contextually relevant answers by searching your knowledge base, making your AI applications smart and efficient.
5
+
6
+ OCI Generative AI Agents supports several ways to onboard your data and then allows you and your customers to interact with your data using a chat interface or API.
7
+
8
+ Use the Generative AI Agents API to create and manage agents, knowledge bases, data sources, endpoints, data ingestion jobs, and work requests.
9
+
10
+ For creating and managing client chat sessions see the {@link #eNGenerative-ai-agents-clientLatest(ENGenerative-ai-agents-clientLatestRequest) eNGenerative-ai-agents-clientLatest}.
11
+
12
+ To learn more about the service, see the [Generative AI Agents documentation](https://docs.oracle.com/iaas/Content/generative-ai-agents/home.htm).
13
+
14
+ * OpenAPI spec version: 20240531
15
+ *
16
+ *
17
+ * NOTE: This class is auto generated by OracleSDKGenerator.
18
+ * Do not edit the class manually.
19
+ *
20
+ * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
21
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
22
+ */
23
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
24
+ if (k2 === undefined) k2 = k;
25
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
26
+ }) : (function(o, m, k, k2) {
27
+ if (k2 === undefined) k2 = k;
28
+ o[k2] = m[k];
29
+ }));
30
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
31
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
32
+ }) : function(o, v) {
33
+ o["default"] = v;
34
+ });
35
+ var __importStar = (this && this.__importStar) || function (mod) {
36
+ if (mod && mod.__esModule) return mod;
37
+ var result = {};
38
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
39
+ __setModuleDefault(result, mod);
40
+ return result;
41
+ };
42
+ Object.defineProperty(exports, "__esModule", { value: true });
43
+ exports.ToolCollection = void 0;
44
+ const model = __importStar(require("../model"));
45
+ var ToolCollection;
46
+ (function (ToolCollection) {
47
+ function getJsonObj(obj) {
48
+ const jsonObj = Object.assign(Object.assign({}, obj), {
49
+ "items": obj.items
50
+ ? obj.items.map(item => {
51
+ return model.ToolSummary.getJsonObj(item);
52
+ })
53
+ : undefined
54
+ });
55
+ return jsonObj;
56
+ }
57
+ ToolCollection.getJsonObj = getJsonObj;
58
+ function getDeserializedJsonObj(obj) {
59
+ const jsonObj = Object.assign(Object.assign({}, obj), {
60
+ "items": obj.items
61
+ ? obj.items.map(item => {
62
+ return model.ToolSummary.getDeserializedJsonObj(item);
63
+ })
64
+ : undefined
65
+ });
66
+ return jsonObj;
67
+ }
68
+ ToolCollection.getDeserializedJsonObj = getDeserializedJsonObj;
69
+ })(ToolCollection = exports.ToolCollection || (exports.ToolCollection = {}));
70
+ //# sourceMappingURL=tool-collection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tool-collection.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagent/lib/model/tool-collection.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAclC,IAAiB,cAAc,CA6B9B;AA7BD,WAAiB,cAAc;IAC7B,SAAgB,UAAU,CAAC,GAAmB;QAC5C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,WAAW,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC5C,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,yBAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAmB;QACxD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,WAAW,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACxD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,qCAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,cAAc,GAAd,sBAAc,KAAd,sBAAc,QA6B9B"}
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Generative AI Agents Management API
3
+ * OCI Generative AI Agents is a fully managed service that combines the power of large language models (LLMs) with an intelligent retrieval system to create contextually relevant answers by searching your knowledge base, making your AI applications smart and efficient.
4
+
5
+ OCI Generative AI Agents supports several ways to onboard your data and then allows you and your customers to interact with your data using a chat interface or API.
6
+
7
+ Use the Generative AI Agents API to create and manage agents, knowledge bases, data sources, endpoints, data ingestion jobs, and work requests.
8
+
9
+ For creating and managing client chat sessions see the {@link #eNGenerative-ai-agents-clientLatest(ENGenerative-ai-agents-clientLatestRequest) eNGenerative-ai-agents-clientLatest}.
10
+
11
+ To learn more about the service, see the [Generative AI Agents documentation](https://docs.oracle.com/iaas/Content/generative-ai-agents/home.htm).
12
+
13
+ * OpenAPI spec version: 20240531
14
+ *
15
+ *
16
+ * NOTE: This class is auto generated by OracleSDKGenerator.
17
+ * Do not edit the class manually.
18
+ *
19
+ * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
20
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
21
+ */
22
+ /**
23
+ * The configuration and type of Tool.
24
+ *
25
+ */
26
+ export interface ToolConfig {
27
+ "toolConfigType": string;
28
+ }
29
+ export declare namespace ToolConfig {
30
+ function getJsonObj(obj: ToolConfig): object;
31
+ function getDeserializedJsonObj(obj: ToolConfig): object;
32
+ }
@@ -0,0 +1,89 @@
1
+ "use strict";
2
+ /**
3
+ * Generative AI Agents Management API
4
+ * OCI Generative AI Agents is a fully managed service that combines the power of large language models (LLMs) with an intelligent retrieval system to create contextually relevant answers by searching your knowledge base, making your AI applications smart and efficient.
5
+
6
+ OCI Generative AI Agents supports several ways to onboard your data and then allows you and your customers to interact with your data using a chat interface or API.
7
+
8
+ Use the Generative AI Agents API to create and manage agents, knowledge bases, data sources, endpoints, data ingestion jobs, and work requests.
9
+
10
+ For creating and managing client chat sessions see the {@link #eNGenerative-ai-agents-clientLatest(ENGenerative-ai-agents-clientLatestRequest) eNGenerative-ai-agents-clientLatest}.
11
+
12
+ To learn more about the service, see the [Generative AI Agents documentation](https://docs.oracle.com/iaas/Content/generative-ai-agents/home.htm).
13
+
14
+ * OpenAPI spec version: 20240531
15
+ *
16
+ *
17
+ * NOTE: This class is auto generated by OracleSDKGenerator.
18
+ * Do not edit the class manually.
19
+ *
20
+ * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
21
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
22
+ */
23
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
24
+ if (k2 === undefined) k2 = k;
25
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
26
+ }) : (function(o, m, k, k2) {
27
+ if (k2 === undefined) k2 = k;
28
+ o[k2] = m[k];
29
+ }));
30
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
31
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
32
+ }) : function(o, v) {
33
+ o["default"] = v;
34
+ });
35
+ var __importStar = (this && this.__importStar) || function (mod) {
36
+ if (mod && mod.__esModule) return mod;
37
+ var result = {};
38
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
39
+ __setModuleDefault(result, mod);
40
+ return result;
41
+ };
42
+ Object.defineProperty(exports, "__esModule", { value: true });
43
+ exports.ToolConfig = void 0;
44
+ const model = __importStar(require("../model"));
45
+ const common = require("oci-common");
46
+ var ToolConfig;
47
+ (function (ToolConfig) {
48
+ function getJsonObj(obj) {
49
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
50
+ if (obj && "toolConfigType" in obj && obj.toolConfigType) {
51
+ switch (obj.toolConfigType) {
52
+ case "SQL_TOOL_CONFIG":
53
+ return model.SqlToolConfig.getJsonObj(jsonObj, true);
54
+ case "FUNCTION_CALLING_TOOL_CONFIG":
55
+ return model.FunctionCallingToolConfig.getJsonObj(jsonObj, true);
56
+ case "HTTP_ENDPOINT_TOOL_CONFIG":
57
+ return model.HttpEndpointToolConfig.getJsonObj(jsonObj, true);
58
+ case "RAG_TOOL_CONFIG":
59
+ return model.RagToolConfig.getJsonObj(jsonObj, true);
60
+ default:
61
+ if (common.LOG.logger)
62
+ common.LOG.logger.info(`Unknown value for: ${obj.toolConfigType}`);
63
+ }
64
+ }
65
+ return jsonObj;
66
+ }
67
+ ToolConfig.getJsonObj = getJsonObj;
68
+ function getDeserializedJsonObj(obj) {
69
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
70
+ if (obj && "toolConfigType" in obj && obj.toolConfigType) {
71
+ switch (obj.toolConfigType) {
72
+ case "SQL_TOOL_CONFIG":
73
+ return model.SqlToolConfig.getDeserializedJsonObj(jsonObj, true);
74
+ case "FUNCTION_CALLING_TOOL_CONFIG":
75
+ return model.FunctionCallingToolConfig.getDeserializedJsonObj(jsonObj, true);
76
+ case "HTTP_ENDPOINT_TOOL_CONFIG":
77
+ return model.HttpEndpointToolConfig.getDeserializedJsonObj(jsonObj, true);
78
+ case "RAG_TOOL_CONFIG":
79
+ return model.RagToolConfig.getDeserializedJsonObj(jsonObj, true);
80
+ default:
81
+ if (common.LOG.logger)
82
+ common.LOG.logger.info(`Unknown value for: ${obj.toolConfigType}`);
83
+ }
84
+ }
85
+ return jsonObj;
86
+ }
87
+ ToolConfig.getDeserializedJsonObj = getDeserializedJsonObj;
88
+ })(ToolConfig = exports.ToolConfig || (exports.ToolConfig = {}));
89
+ //# sourceMappingURL=tool-config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tool-config.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagent/lib/model/tool-config.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AAUtC,IAAiB,UAAU,CAyD1B;AAzDD,WAAiB,UAAU;IACzB,SAAgB,UAAU,CAAC,GAAe;QACxC,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,gBAAgB,IAAI,GAAG,IAAI,GAAG,CAAC,cAAc,EAAE;YACxD,QAAQ,GAAG,CAAC,cAAc,EAAE;gBAC1B,KAAK,iBAAiB;oBACpB,OAAO,KAAK,CAAC,aAAa,CAAC,UAAU,CAA+B,OAAQ,EAAE,IAAI,CAAC,CAAC;gBACtF,KAAK,8BAA8B;oBACjC,OAAO,KAAK,CAAC,yBAAyB,CAAC,UAAU,CACL,OAAQ,EAClD,IAAI,CACL,CAAC;gBACJ,KAAK,2BAA2B;oBAC9B,OAAO,KAAK,CAAC,sBAAsB,CAAC,UAAU,CACL,OAAQ,EAC/C,IAAI,CACL,CAAC;gBACJ,KAAK,iBAAiB;oBACpB,OAAO,KAAK,CAAC,aAAa,CAAC,UAAU,CAA+B,OAAQ,EAAE,IAAI,CAAC,CAAC;gBACtF;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,cAAc,EAAE,CAAC,CAAC;aAC7F;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAxBe,qBAAU,aAwBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAe;QACpD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,gBAAgB,IAAI,GAAG,IAAI,GAAG,CAAC,cAAc,EAAE;YACxD,QAAQ,GAAG,CAAC,cAAc,EAAE;gBAC1B,KAAK,iBAAiB;oBACpB,OAAO,KAAK,CAAC,aAAa,CAAC,sBAAsB,CACjB,OAAQ,EACtC,IAAI,CACL,CAAC;gBACJ,KAAK,8BAA8B;oBACjC,OAAO,KAAK,CAAC,yBAAyB,CAAC,sBAAsB,CACjB,OAAQ,EAClD,IAAI,CACL,CAAC;gBACJ,KAAK,2BAA2B;oBAC9B,OAAO,KAAK,CAAC,sBAAsB,CAAC,sBAAsB,CACjB,OAAQ,EAC/C,IAAI,CACL,CAAC;gBACJ,KAAK,iBAAiB;oBACpB,OAAO,KAAK,CAAC,aAAa,CAAC,sBAAsB,CACjB,OAAQ,EACtC,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,cAAc,EAAE,CAAC,CAAC;aAC7F;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IA9Be,iCAAsB,yBA8BrC,CAAA;AACH,CAAC,EAzDgB,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAyD1B"}
@@ -0,0 +1,110 @@
1
+ /**
2
+ * Generative AI Agents Management API
3
+ * OCI Generative AI Agents is a fully managed service that combines the power of large language models (LLMs) with an intelligent retrieval system to create contextually relevant answers by searching your knowledge base, making your AI applications smart and efficient.
4
+
5
+ OCI Generative AI Agents supports several ways to onboard your data and then allows you and your customers to interact with your data using a chat interface or API.
6
+
7
+ Use the Generative AI Agents API to create and manage agents, knowledge bases, data sources, endpoints, data ingestion jobs, and work requests.
8
+
9
+ For creating and managing client chat sessions see the {@link #eNGenerative-ai-agents-clientLatest(ENGenerative-ai-agents-clientLatestRequest) eNGenerative-ai-agents-clientLatest}.
10
+
11
+ To learn more about the service, see the [Generative AI Agents documentation](https://docs.oracle.com/iaas/Content/generative-ai-agents/home.htm).
12
+
13
+ * OpenAPI spec version: 20240531
14
+ *
15
+ *
16
+ * NOTE: This class is auto generated by OracleSDKGenerator.
17
+ * Do not edit the class manually.
18
+ *
19
+ * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
20
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
21
+ */
22
+ import * as model from "../model";
23
+ /**
24
+ * Summary information of a Tool.
25
+ *
26
+ */
27
+ export interface ToolSummary {
28
+ /**
29
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Tool.
30
+ */
31
+ "id": string;
32
+ /**
33
+ * The current state of the agent.
34
+ */
35
+ "lifecycleState": string;
36
+ /**
37
+ * The date and time the Tool was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).
38
+ * <p>
39
+ Example: {@code 2016-08-25T21:10:29.600Z}
40
+ *
41
+ */
42
+ "timeCreated": Date;
43
+ /**
44
+ * The date and time the Tool was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).
45
+ * <p>
46
+ Example: {@code 2016-08-25T21:10:29.600Z}
47
+ *
48
+ */
49
+ "timeUpdated"?: Date;
50
+ /**
51
+ * A user-friendly name. Does not have to be unique, and it's changeable.
52
+ */
53
+ "displayName"?: string;
54
+ /**
55
+ * Description about the Tool.
56
+ */
57
+ "description"?: string;
58
+ /**
59
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
60
+ */
61
+ "compartmentId": string;
62
+ /**
63
+ * The OCID of the agent that this Tool is attached to.
64
+ */
65
+ "agentId": string;
66
+ "toolConfig": model.SqlToolConfig | model.FunctionCallingToolConfig | model.HttpEndpointToolConfig | model.RagToolConfig;
67
+ /**
68
+ * Key-value pairs to allow additional configurations.
69
+ */
70
+ "metadata"?: {
71
+ [key: string]: string;
72
+ };
73
+ /**
74
+ * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
75
+ * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
76
+ * <p>
77
+ Example: {@code {\"Department\": \"Finance\"}}
78
+ *
79
+ */
80
+ "freeformTags"?: {
81
+ [key: string]: string;
82
+ };
83
+ /**
84
+ * Defined tags for this resource. Each key is predefined and scoped to a namespace.
85
+ * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
86
+ * <p>
87
+ Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}}
88
+ *
89
+ */
90
+ "definedTags"?: {
91
+ [key: string]: {
92
+ [key: string]: any;
93
+ };
94
+ };
95
+ /**
96
+ * System tags for this resource. Each key is predefined and scoped to a namespace.
97
+ * <p>
98
+ Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}}
99
+ *
100
+ */
101
+ "systemTags"?: {
102
+ [key: string]: {
103
+ [key: string]: any;
104
+ };
105
+ };
106
+ }
107
+ export declare namespace ToolSummary {
108
+ function getJsonObj(obj: ToolSummary): object;
109
+ function getDeserializedJsonObj(obj: ToolSummary): object;
110
+ }
@@ -0,0 +1,64 @@
1
+ "use strict";
2
+ /**
3
+ * Generative AI Agents Management API
4
+ * OCI Generative AI Agents is a fully managed service that combines the power of large language models (LLMs) with an intelligent retrieval system to create contextually relevant answers by searching your knowledge base, making your AI applications smart and efficient.
5
+
6
+ OCI Generative AI Agents supports several ways to onboard your data and then allows you and your customers to interact with your data using a chat interface or API.
7
+
8
+ Use the Generative AI Agents API to create and manage agents, knowledge bases, data sources, endpoints, data ingestion jobs, and work requests.
9
+
10
+ For creating and managing client chat sessions see the {@link #eNGenerative-ai-agents-clientLatest(ENGenerative-ai-agents-clientLatestRequest) eNGenerative-ai-agents-clientLatest}.
11
+
12
+ To learn more about the service, see the [Generative AI Agents documentation](https://docs.oracle.com/iaas/Content/generative-ai-agents/home.htm).
13
+
14
+ * OpenAPI spec version: 20240531
15
+ *
16
+ *
17
+ * NOTE: This class is auto generated by OracleSDKGenerator.
18
+ * Do not edit the class manually.
19
+ *
20
+ * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
21
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
22
+ */
23
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
24
+ if (k2 === undefined) k2 = k;
25
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
26
+ }) : (function(o, m, k, k2) {
27
+ if (k2 === undefined) k2 = k;
28
+ o[k2] = m[k];
29
+ }));
30
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
31
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
32
+ }) : function(o, v) {
33
+ o["default"] = v;
34
+ });
35
+ var __importStar = (this && this.__importStar) || function (mod) {
36
+ if (mod && mod.__esModule) return mod;
37
+ var result = {};
38
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
39
+ __setModuleDefault(result, mod);
40
+ return result;
41
+ };
42
+ Object.defineProperty(exports, "__esModule", { value: true });
43
+ exports.ToolSummary = void 0;
44
+ const model = __importStar(require("../model"));
45
+ var ToolSummary;
46
+ (function (ToolSummary) {
47
+ function getJsonObj(obj) {
48
+ const jsonObj = Object.assign(Object.assign({}, obj), {
49
+ "toolConfig": obj.toolConfig ? model.ToolConfig.getJsonObj(obj.toolConfig) : undefined
50
+ });
51
+ return jsonObj;
52
+ }
53
+ ToolSummary.getJsonObj = getJsonObj;
54
+ function getDeserializedJsonObj(obj) {
55
+ const jsonObj = Object.assign(Object.assign({}, obj), {
56
+ "toolConfig": obj.toolConfig
57
+ ? model.ToolConfig.getDeserializedJsonObj(obj.toolConfig)
58
+ : undefined
59
+ });
60
+ return jsonObj;
61
+ }
62
+ ToolSummary.getDeserializedJsonObj = getDeserializedJsonObj;
63
+ })(ToolSummary = exports.ToolSummary || (exports.ToolSummary = {}));
64
+ //# sourceMappingURL=tool-summary.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tool-summary.js","sourceRoot":"","sources":["../../../../../lib/generativeaiagent/lib/model/tool-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAgFlC,IAAiB,WAAW,CAuB3B;AAvBD,WAAiB,WAAW;IAC1B,SAAgB,UAAU,CAAC,GAAgB;QACzC,MAAM,OAAO,mCACR,GAAG,GACH;YACD,YAAY,EAAE,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,UAAU,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,SAAS;SACvF,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IATe,sBAAU,aASzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAgB;QACrD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,YAAY,EAAE,GAAG,CAAC,UAAU;gBAC1B,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,sBAAsB,CAAC,GAAG,CAAC,UAAU,CAAC;gBACzD,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,kCAAsB,yBAWrC,CAAA;AACH,CAAC,EAvBgB,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAuB3B"}
@@ -0,0 +1,125 @@
1
+ /**
2
+ * Generative AI Agents Management API
3
+ * OCI Generative AI Agents is a fully managed service that combines the power of large language models (LLMs) with an intelligent retrieval system to create contextually relevant answers by searching your knowledge base, making your AI applications smart and efficient.
4
+
5
+ OCI Generative AI Agents supports several ways to onboard your data and then allows you and your customers to interact with your data using a chat interface or API.
6
+
7
+ Use the Generative AI Agents API to create and manage agents, knowledge bases, data sources, endpoints, data ingestion jobs, and work requests.
8
+
9
+ For creating and managing client chat sessions see the {@link #eNGenerative-ai-agents-clientLatest(ENGenerative-ai-agents-clientLatestRequest) eNGenerative-ai-agents-clientLatest}.
10
+
11
+ To learn more about the service, see the [Generative AI Agents documentation](https://docs.oracle.com/iaas/Content/generative-ai-agents/home.htm).
12
+
13
+ * OpenAPI spec version: 20240531
14
+ *
15
+ *
16
+ * NOTE: This class is auto generated by OracleSDKGenerator.
17
+ * Do not edit the class manually.
18
+ *
19
+ * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
20
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
21
+ */
22
+ import * as model from "../model";
23
+ /**
24
+ * The description of Tool.
25
+ * <p>
26
+ To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see [Getting Started with Policies](https://docs.oracle.com/iaas/Content/Identity/policiesgs/get-started-with-policies.htm).
27
+ *
28
+ */
29
+ export interface Tool {
30
+ /**
31
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Tool.
32
+ */
33
+ "id": string;
34
+ /**
35
+ * The current state of the Tool.
36
+ */
37
+ "lifecycleState": Tool.LifecycleState;
38
+ /**
39
+ * The date and time the Tool was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).
40
+ * <p>
41
+ Example: {@code 2016-08-25T21:10:29.600Z}
42
+ *
43
+ */
44
+ "timeCreated": Date;
45
+ /**
46
+ * The date and time the Tool was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).
47
+ * <p>
48
+ Example: {@code 2016-08-25T21:10:29.600Z}
49
+ *
50
+ */
51
+ "timeUpdated"?: Date;
52
+ /**
53
+ * A user-friendly name. Does not have to be unique, and it's changeable.
54
+ */
55
+ "displayName"?: string;
56
+ /**
57
+ * Description of the Tool.
58
+ */
59
+ "description": string;
60
+ /**
61
+ * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
62
+ */
63
+ "compartmentId": string;
64
+ /**
65
+ * The OCID of the agent that this Tool is attached to.
66
+ */
67
+ "agentId": string;
68
+ "toolConfig": model.SqlToolConfig | model.FunctionCallingToolConfig | model.HttpEndpointToolConfig | model.RagToolConfig;
69
+ /**
70
+ * Key-value pairs to allow additional configurations.
71
+ */
72
+ "metadata"?: {
73
+ [key: string]: string;
74
+ };
75
+ /**
76
+ * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
77
+ * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
78
+ * <p>
79
+ Example: {@code {\"Department\": \"Finance\"}}
80
+ *
81
+ */
82
+ "freeformTags"?: {
83
+ [key: string]: string;
84
+ };
85
+ /**
86
+ * Defined tags for this resource. Each key is predefined and scoped to a namespace.
87
+ * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
88
+ * <p>
89
+ Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}}
90
+ *
91
+ */
92
+ "definedTags"?: {
93
+ [key: string]: {
94
+ [key: string]: any;
95
+ };
96
+ };
97
+ /**
98
+ * System tags for this resource. Each key is predefined and scoped to a namespace.
99
+ * <p>
100
+ Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}}
101
+ *
102
+ */
103
+ "systemTags"?: {
104
+ [key: string]: {
105
+ [key: string]: any;
106
+ };
107
+ };
108
+ }
109
+ export declare namespace Tool {
110
+ enum LifecycleState {
111
+ Creating = "CREATING",
112
+ Updating = "UPDATING",
113
+ Active = "ACTIVE",
114
+ Deleting = "DELETING",
115
+ Deleted = "DELETED",
116
+ Failed = "FAILED",
117
+ /**
118
+ * This value is used if a service returns a value for this enum that is not recognized by this
119
+ * version of the SDK.
120
+ */
121
+ UnknownValue = "UNKNOWN_VALUE"
122
+ }
123
+ function getJsonObj(obj: Tool): object;
124
+ function getDeserializedJsonObj(obj: Tool): object;
125
+ }