@azure/ai-agents 1.1.0-beta.3 → 1.2.0-alpha.20250923.1
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.
- package/README.md +0 -76
- package/dist/browser/api/agentsContext.js +2 -2
- package/dist/browser/api/agentsContext.js.map +1 -1
- package/dist/browser/api/messages/index.d.ts +2 -2
- package/dist/browser/api/messages/index.d.ts.map +1 -1
- package/dist/browser/api/messages/index.js +1 -1
- package/dist/browser/api/messages/index.js.map +1 -1
- package/dist/browser/api/messages/operations.d.ts +6 -2
- package/dist/browser/api/messages/operations.d.ts.map +1 -1
- package/dist/browser/api/messages/operations.js +31 -1
- package/dist/browser/api/messages/operations.js.map +1 -1
- package/dist/browser/api/messages/options.d.ts +3 -0
- package/dist/browser/api/messages/options.d.ts.map +1 -1
- package/dist/browser/api/messages/options.js.map +1 -1
- package/dist/browser/api/operations.d.ts +1 -2
- package/dist/browser/api/operations.d.ts.map +1 -1
- package/dist/browser/api/operations.js +2 -2
- package/dist/browser/api/operations.js.map +1 -1
- package/dist/browser/api/runSteps/operations.js +3 -3
- package/dist/browser/api/runSteps/operations.js.map +1 -1
- package/dist/browser/api/runs/operations.d.ts +3 -3
- package/dist/browser/api/runs/operations.d.ts.map +1 -1
- package/dist/browser/api/runs/operations.js +12 -10
- package/dist/browser/api/runs/operations.js.map +1 -1
- package/dist/browser/api/vectorStoreFiles/operations.js +4 -4
- package/dist/browser/api/vectorStoreFiles/operations.js.map +1 -1
- package/dist/browser/api/vectorStores/operations.js +4 -4
- package/dist/browser/api/vectorStores/operations.js.map +1 -1
- package/dist/browser/classic/messages/index.d.ts +4 -2
- package/dist/browser/classic/messages/index.d.ts.map +1 -1
- package/dist/browser/classic/messages/index.js +2 -1
- package/dist/browser/classic/messages/index.js.map +1 -1
- package/dist/browser/classic/runs/index.d.ts.map +1 -1
- package/dist/browser/classic/runs/index.js +4 -1
- package/dist/browser/classic/runs/index.js.map +1 -1
- package/dist/browser/constants.d.ts +1 -1
- package/dist/browser/constants.js +1 -1
- package/dist/browser/constants.js.map +1 -1
- package/dist/browser/index.d.ts +3 -2
- package/dist/browser/index.d.ts.map +1 -1
- package/dist/browser/index.js +1 -0
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/models/index.d.ts +1 -1
- package/dist/browser/models/index.d.ts.map +1 -1
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/models.d.ts +309 -31
- package/dist/browser/models/models.d.ts.map +1 -1
- package/dist/browser/models/models.js +341 -14
- package/dist/browser/models/models.js.map +1 -1
- package/dist/browser/models/streamingModels.d.ts +18 -18
- package/dist/browser/models/streamingModels.d.ts.map +1 -1
- package/dist/browser/models/streamingModels.js.map +1 -1
- package/dist/browser/static-helpers/urlTemplate.js.map +1 -1
- package/dist/browser/utils/MCPTool.d.ts +12 -1
- package/dist/browser/utils/MCPTool.d.ts.map +1 -1
- package/dist/browser/utils/MCPTool.js +29 -2
- package/dist/browser/utils/MCPTool.js.map +1 -1
- package/dist/browser/utils/OpenApiTool.d.ts +46 -0
- package/dist/browser/utils/OpenApiTool.d.ts.map +1 -0
- package/dist/browser/utils/OpenApiTool.js +84 -0
- package/dist/browser/utils/OpenApiTool.js.map +1 -0
- package/dist/browser/utils/utils.d.ts +14 -50
- package/dist/browser/utils/utils.d.ts.map +1 -1
- package/dist/browser/utils/utils.js +13 -91
- package/dist/browser/utils/utils.js.map +1 -1
- package/dist/commonjs/api/agentsContext.js +2 -2
- package/dist/commonjs/api/agentsContext.js.map +1 -1
- package/dist/commonjs/api/messages/index.d.ts +2 -2
- package/dist/commonjs/api/messages/index.d.ts.map +1 -1
- package/dist/commonjs/api/messages/index.js +2 -1
- package/dist/commonjs/api/messages/index.js.map +1 -1
- package/dist/commonjs/api/messages/operations.d.ts +6 -2
- package/dist/commonjs/api/messages/operations.d.ts.map +1 -1
- package/dist/commonjs/api/messages/operations.js +33 -0
- package/dist/commonjs/api/messages/operations.js.map +1 -1
- package/dist/commonjs/api/messages/options.d.ts +3 -0
- package/dist/commonjs/api/messages/options.d.ts.map +1 -1
- package/dist/commonjs/api/messages/options.js.map +1 -1
- package/dist/commonjs/api/operations.d.ts +1 -2
- package/dist/commonjs/api/operations.d.ts.map +1 -1
- package/dist/commonjs/api/operations.js +2 -2
- package/dist/commonjs/api/operations.js.map +1 -1
- package/dist/commonjs/api/runSteps/operations.js +3 -3
- package/dist/commonjs/api/runSteps/operations.js.map +1 -1
- package/dist/commonjs/api/runs/operations.d.ts +3 -3
- package/dist/commonjs/api/runs/operations.d.ts.map +1 -1
- package/dist/commonjs/api/runs/operations.js +12 -10
- package/dist/commonjs/api/runs/operations.js.map +1 -1
- package/dist/commonjs/api/vectorStoreFiles/operations.js +4 -4
- package/dist/commonjs/api/vectorStoreFiles/operations.js.map +1 -1
- package/dist/commonjs/api/vectorStores/operations.js +4 -4
- package/dist/commonjs/api/vectorStores/operations.js.map +1 -1
- package/dist/commonjs/classic/messages/index.d.ts +4 -2
- package/dist/commonjs/classic/messages/index.d.ts.map +1 -1
- package/dist/commonjs/classic/messages/index.js +1 -0
- package/dist/commonjs/classic/messages/index.js.map +1 -1
- package/dist/commonjs/classic/runs/index.d.ts.map +1 -1
- package/dist/commonjs/classic/runs/index.js +4 -1
- package/dist/commonjs/classic/runs/index.js.map +1 -1
- package/dist/commonjs/constants.d.ts +1 -1
- package/dist/commonjs/constants.js +1 -1
- package/dist/commonjs/constants.js.map +1 -1
- package/dist/commonjs/index.d.ts +3 -2
- package/dist/commonjs/index.d.ts.map +1 -1
- package/dist/commonjs/index.js +3 -1
- package/dist/commonjs/index.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +1 -1
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/models.d.ts +309 -31
- package/dist/commonjs/models/models.d.ts.map +1 -1
- package/dist/commonjs/models/models.js +385 -15
- package/dist/commonjs/models/models.js.map +1 -1
- package/dist/commonjs/models/streamingModels.d.ts +18 -18
- package/dist/commonjs/models/streamingModels.d.ts.map +1 -1
- package/dist/commonjs/models/streamingModels.js.map +1 -1
- package/dist/commonjs/static-helpers/urlTemplate.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +1 -1
- package/dist/commonjs/utils/MCPTool.d.ts +12 -1
- package/dist/commonjs/utils/MCPTool.d.ts.map +1 -1
- package/dist/commonjs/utils/MCPTool.js +29 -2
- package/dist/commonjs/utils/MCPTool.js.map +1 -1
- package/dist/commonjs/utils/OpenApiTool.d.ts +46 -0
- package/dist/commonjs/utils/OpenApiTool.d.ts.map +1 -0
- package/dist/commonjs/utils/OpenApiTool.js +88 -0
- package/dist/commonjs/utils/OpenApiTool.js.map +1 -0
- package/dist/commonjs/utils/utils.d.ts +14 -50
- package/dist/commonjs/utils/utils.d.ts.map +1 -1
- package/dist/commonjs/utils/utils.js +13 -91
- package/dist/commonjs/utils/utils.js.map +1 -1
- package/dist/esm/api/agentsContext.js +2 -2
- package/dist/esm/api/agentsContext.js.map +1 -1
- package/dist/esm/api/messages/index.d.ts +2 -2
- package/dist/esm/api/messages/index.d.ts.map +1 -1
- package/dist/esm/api/messages/index.js +1 -1
- package/dist/esm/api/messages/index.js.map +1 -1
- package/dist/esm/api/messages/operations.d.ts +6 -2
- package/dist/esm/api/messages/operations.d.ts.map +1 -1
- package/dist/esm/api/messages/operations.js +31 -1
- package/dist/esm/api/messages/operations.js.map +1 -1
- package/dist/esm/api/messages/options.d.ts +3 -0
- package/dist/esm/api/messages/options.d.ts.map +1 -1
- package/dist/esm/api/messages/options.js.map +1 -1
- package/dist/esm/api/operations.d.ts +1 -2
- package/dist/esm/api/operations.d.ts.map +1 -1
- package/dist/esm/api/operations.js +2 -2
- package/dist/esm/api/operations.js.map +1 -1
- package/dist/esm/api/runSteps/operations.js +3 -3
- package/dist/esm/api/runSteps/operations.js.map +1 -1
- package/dist/esm/api/runs/operations.d.ts +3 -3
- package/dist/esm/api/runs/operations.d.ts.map +1 -1
- package/dist/esm/api/runs/operations.js +12 -10
- package/dist/esm/api/runs/operations.js.map +1 -1
- package/dist/esm/api/vectorStoreFiles/operations.js +4 -4
- package/dist/esm/api/vectorStoreFiles/operations.js.map +1 -1
- package/dist/esm/api/vectorStores/operations.js +4 -4
- package/dist/esm/api/vectorStores/operations.js.map +1 -1
- package/dist/esm/classic/messages/index.d.ts +4 -2
- package/dist/esm/classic/messages/index.d.ts.map +1 -1
- package/dist/esm/classic/messages/index.js +2 -1
- package/dist/esm/classic/messages/index.js.map +1 -1
- package/dist/esm/classic/runs/index.d.ts.map +1 -1
- package/dist/esm/classic/runs/index.js +4 -1
- package/dist/esm/classic/runs/index.js.map +1 -1
- package/dist/esm/constants.d.ts +1 -1
- package/dist/esm/constants.js +1 -1
- package/dist/esm/constants.js.map +1 -1
- package/dist/esm/index.d.ts +3 -2
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +1 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/models/index.d.ts +1 -1
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/models.d.ts +309 -31
- package/dist/esm/models/models.d.ts.map +1 -1
- package/dist/esm/models/models.js +341 -14
- package/dist/esm/models/models.js.map +1 -1
- package/dist/esm/models/streamingModels.d.ts +18 -18
- package/dist/esm/models/streamingModels.d.ts.map +1 -1
- package/dist/esm/models/streamingModels.js.map +1 -1
- package/dist/esm/static-helpers/urlTemplate.js.map +1 -1
- package/dist/esm/utils/MCPTool.d.ts +12 -1
- package/dist/esm/utils/MCPTool.d.ts.map +1 -1
- package/dist/esm/utils/MCPTool.js +29 -2
- package/dist/esm/utils/MCPTool.js.map +1 -1
- package/dist/esm/utils/OpenApiTool.d.ts +46 -0
- package/dist/esm/utils/OpenApiTool.d.ts.map +1 -0
- package/dist/esm/utils/OpenApiTool.js +84 -0
- package/dist/esm/utils/OpenApiTool.js.map +1 -0
- package/dist/esm/utils/utils.d.ts +14 -50
- package/dist/esm/utils/utils.d.ts.map +1 -1
- package/dist/esm/utils/utils.js +13 -91
- package/dist/esm/utils/utils.js.map +1 -1
- package/dist/react-native/api/agentsContext.js +2 -2
- package/dist/react-native/api/agentsContext.js.map +1 -1
- package/dist/react-native/api/messages/index.d.ts +2 -2
- package/dist/react-native/api/messages/index.d.ts.map +1 -1
- package/dist/react-native/api/messages/index.js +1 -1
- package/dist/react-native/api/messages/index.js.map +1 -1
- package/dist/react-native/api/messages/operations.d.ts +6 -2
- package/dist/react-native/api/messages/operations.d.ts.map +1 -1
- package/dist/react-native/api/messages/operations.js +31 -1
- package/dist/react-native/api/messages/operations.js.map +1 -1
- package/dist/react-native/api/messages/options.d.ts +3 -0
- package/dist/react-native/api/messages/options.d.ts.map +1 -1
- package/dist/react-native/api/messages/options.js.map +1 -1
- package/dist/react-native/api/operations.d.ts +1 -2
- package/dist/react-native/api/operations.d.ts.map +1 -1
- package/dist/react-native/api/operations.js +2 -2
- package/dist/react-native/api/operations.js.map +1 -1
- package/dist/react-native/api/runSteps/operations.js +3 -3
- package/dist/react-native/api/runSteps/operations.js.map +1 -1
- package/dist/react-native/api/runs/operations.d.ts +3 -3
- package/dist/react-native/api/runs/operations.d.ts.map +1 -1
- package/dist/react-native/api/runs/operations.js +12 -10
- package/dist/react-native/api/runs/operations.js.map +1 -1
- package/dist/react-native/api/vectorStoreFiles/operations.js +4 -4
- package/dist/react-native/api/vectorStoreFiles/operations.js.map +1 -1
- package/dist/react-native/api/vectorStores/operations.js +4 -4
- package/dist/react-native/api/vectorStores/operations.js.map +1 -1
- package/dist/react-native/classic/messages/index.d.ts +4 -2
- package/dist/react-native/classic/messages/index.d.ts.map +1 -1
- package/dist/react-native/classic/messages/index.js +2 -1
- package/dist/react-native/classic/messages/index.js.map +1 -1
- package/dist/react-native/classic/runs/index.d.ts.map +1 -1
- package/dist/react-native/classic/runs/index.js +4 -1
- package/dist/react-native/classic/runs/index.js.map +1 -1
- package/dist/react-native/constants.d.ts +1 -1
- package/dist/react-native/constants.js +1 -1
- package/dist/react-native/constants.js.map +1 -1
- package/dist/react-native/index.d.ts +3 -2
- package/dist/react-native/index.d.ts.map +1 -1
- package/dist/react-native/index.js +1 -0
- package/dist/react-native/index.js.map +1 -1
- package/dist/react-native/models/index.d.ts +1 -1
- package/dist/react-native/models/index.d.ts.map +1 -1
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/models.d.ts +309 -31
- package/dist/react-native/models/models.d.ts.map +1 -1
- package/dist/react-native/models/models.js +341 -14
- package/dist/react-native/models/models.js.map +1 -1
- package/dist/react-native/models/streamingModels.d.ts +18 -18
- package/dist/react-native/models/streamingModels.d.ts.map +1 -1
- package/dist/react-native/models/streamingModels.js.map +1 -1
- package/dist/react-native/static-helpers/urlTemplate.js.map +1 -1
- package/dist/react-native/utils/MCPTool.d.ts +12 -1
- package/dist/react-native/utils/MCPTool.d.ts.map +1 -1
- package/dist/react-native/utils/MCPTool.js +29 -2
- package/dist/react-native/utils/MCPTool.js.map +1 -1
- package/dist/react-native/utils/OpenApiTool.d.ts +46 -0
- package/dist/react-native/utils/OpenApiTool.d.ts.map +1 -0
- package/dist/react-native/utils/OpenApiTool.js +84 -0
- package/dist/react-native/utils/OpenApiTool.js.map +1 -0
- package/dist/react-native/utils/utils.d.ts +14 -50
- package/dist/react-native/utils/utils.d.ts.map +1 -1
- package/dist/react-native/utils/utils.js +13 -91
- package/dist/react-native/utils/utils.js.map +1 -1
- package/package.json +36 -37
|
@@ -2,13 +2,13 @@ import type { FileContents } from "../static-helpers/multipartHelpers.js";
|
|
|
2
2
|
/** An abstract representation of an input tool definition that an agent can use. */
|
|
3
3
|
export interface ToolDefinition {
|
|
4
4
|
/** The object type. */
|
|
5
|
-
/** The discriminator possible values: code_interpreter, file_search, function, bing_grounding, fabric_dataagent, sharepoint_grounding, azure_ai_search, openapi, bing_custom_search, connected_agent, deep_research, mcp, azure_function */
|
|
5
|
+
/** The discriminator possible values: code_interpreter, file_search, function, bing_grounding, fabric_dataagent, sharepoint_grounding, azure_ai_search, openapi, bing_custom_search, connected_agent, deep_research, mcp, azure_function, browser_automation */
|
|
6
6
|
type: string;
|
|
7
7
|
}
|
|
8
8
|
export declare function toolDefinitionSerializer(item: ToolDefinition): any;
|
|
9
9
|
export declare function toolDefinitionDeserializer(item: any): ToolDefinition;
|
|
10
10
|
/** Alias for ToolDefinitionUnion */
|
|
11
|
-
export type ToolDefinitionUnion = CodeInterpreterToolDefinition | FileSearchToolDefinition | FunctionToolDefinition | BingGroundingToolDefinition | MicrosoftFabricToolDefinition | SharepointToolDefinition | AzureAISearchToolDefinition | OpenApiToolDefinition | BingCustomSearchToolDefinition | ConnectedAgentToolDefinition | DeepResearchToolDefinition | MCPToolDefinition | AzureFunctionToolDefinition | ToolDefinition;
|
|
11
|
+
export type ToolDefinitionUnion = CodeInterpreterToolDefinition | FileSearchToolDefinition | FunctionToolDefinition | BingGroundingToolDefinition | MicrosoftFabricToolDefinition | SharepointToolDefinition | AzureAISearchToolDefinition | OpenApiToolDefinition | BingCustomSearchToolDefinition | ConnectedAgentToolDefinition | DeepResearchToolDefinition | MCPToolDefinition | AzureFunctionToolDefinition | BrowserAutomationToolDefinition | ToolDefinition;
|
|
12
12
|
export declare function toolDefinitionUnionSerializer(item: ToolDefinitionUnion): any;
|
|
13
13
|
export declare function toolDefinitionUnionDeserializer(item: any): ToolDefinitionUnion;
|
|
14
14
|
/** The input definition information for a code interpreter tool as used to configure an agent. */
|
|
@@ -266,16 +266,6 @@ export declare function bingCustomSearchToolParametersSerializer(item: BingCusto
|
|
|
266
266
|
export declare function bingCustomSearchToolParametersDeserializer(item: any): BingCustomSearchToolParameters;
|
|
267
267
|
export declare function bingCustomSearchConfigurationArraySerializer(result: Array<BingCustomSearchConfiguration>): any[];
|
|
268
268
|
export declare function bingCustomSearchConfigurationArrayDeserializer(result: Array<BingCustomSearchConfiguration>): any[];
|
|
269
|
-
export declare function bingCustomSearchConfigurationDeserializer(item: any): BingCustomSearchConfiguration;
|
|
270
|
-
/** The input definition information for a connected agent tool which defines a domain specific sub-agent */
|
|
271
|
-
export interface ConnectedAgentToolDefinition extends ToolDefinition {
|
|
272
|
-
/** The object type, which is always 'connected_agent'. */
|
|
273
|
-
type: "connected_agent";
|
|
274
|
-
/** The sub-agent to connect */
|
|
275
|
-
connectedAgent: ConnectedAgentDetails;
|
|
276
|
-
}
|
|
277
|
-
export declare function connectedAgentToolDefinitionSerializer(item: ConnectedAgentToolDefinition): any;
|
|
278
|
-
export declare function connectedAgentToolDefinitionDeserializer(item: any): ConnectedAgentToolDefinition;
|
|
279
269
|
/** A bing custom search configuration. */
|
|
280
270
|
export interface BingCustomSearchConfiguration {
|
|
281
271
|
/** Connection id for grounding with bing search */
|
|
@@ -292,6 +282,16 @@ export interface BingCustomSearchConfiguration {
|
|
|
292
282
|
freshness?: string;
|
|
293
283
|
}
|
|
294
284
|
export declare function bingCustomSearchConfigurationSerializer(item: BingCustomSearchConfiguration): any;
|
|
285
|
+
export declare function bingCustomSearchConfigurationDeserializer(item: any): BingCustomSearchConfiguration;
|
|
286
|
+
/** The input definition information for a connected agent tool which defines a domain specific sub-agent */
|
|
287
|
+
export interface ConnectedAgentToolDefinition extends ToolDefinition {
|
|
288
|
+
/** The object type, which is always 'connected_agent'. */
|
|
289
|
+
type: "connected_agent";
|
|
290
|
+
/** The sub-agent to connect */
|
|
291
|
+
connectedAgent: ConnectedAgentDetails;
|
|
292
|
+
}
|
|
293
|
+
export declare function connectedAgentToolDefinitionSerializer(item: ConnectedAgentToolDefinition): any;
|
|
294
|
+
export declare function connectedAgentToolDefinitionDeserializer(item: any): ConnectedAgentToolDefinition;
|
|
295
295
|
/** Information for connecting one agent to another as a tool */
|
|
296
296
|
export interface ConnectedAgentDetails {
|
|
297
297
|
/** The identifier of the child agent. */
|
|
@@ -381,6 +381,29 @@ export interface AzureFunctionStorageQueue {
|
|
|
381
381
|
}
|
|
382
382
|
export declare function azureFunctionStorageQueueSerializer(item: AzureFunctionStorageQueue): any;
|
|
383
383
|
export declare function azureFunctionStorageQueueDeserializer(item: any): AzureFunctionStorageQueue;
|
|
384
|
+
/** The input definition information for a Browser Automation Tool, as used to configure an Agent. */
|
|
385
|
+
export interface BrowserAutomationToolDefinition extends ToolDefinition {
|
|
386
|
+
/** The object type, which is always 'browser_automation'. */
|
|
387
|
+
type: "browser_automation";
|
|
388
|
+
/** The Browser Automation Tool parameters. */
|
|
389
|
+
browserAutomation: BrowserAutomationToolParameters;
|
|
390
|
+
}
|
|
391
|
+
export declare function browserAutomationToolDefinitionSerializer(item: BrowserAutomationToolDefinition): any;
|
|
392
|
+
export declare function browserAutomationToolDefinitionDeserializer(item: any): BrowserAutomationToolDefinition;
|
|
393
|
+
/** Definition of input parameters for the Browser Automation Tool. */
|
|
394
|
+
export interface BrowserAutomationToolParameters {
|
|
395
|
+
/** The connection parameters associated with the Browser Automation Tool. */
|
|
396
|
+
connection: BrowserAutomationToolConnectionParameters;
|
|
397
|
+
}
|
|
398
|
+
export declare function browserAutomationToolParametersSerializer(item: BrowserAutomationToolParameters): any;
|
|
399
|
+
export declare function browserAutomationToolParametersDeserializer(item: any): BrowserAutomationToolParameters;
|
|
400
|
+
/** Definition of input parameters for the connection used by the Browser Automation Tool. */
|
|
401
|
+
export interface BrowserAutomationToolConnectionParameters {
|
|
402
|
+
/** The ID of the connection to your Azure Playwright resource. */
|
|
403
|
+
id: string;
|
|
404
|
+
}
|
|
405
|
+
export declare function browserAutomationToolConnectionParametersSerializer(item: BrowserAutomationToolConnectionParameters): any;
|
|
406
|
+
export declare function browserAutomationToolConnectionParametersDeserializer(item: any): BrowserAutomationToolConnectionParameters;
|
|
384
407
|
/**
|
|
385
408
|
* A set of resources that are used by the agent's tools. The resources are specific to the type of
|
|
386
409
|
* tool. For example, the `code_interpreter` tool requires a list of file IDs, while the `file_search`
|
|
@@ -509,10 +532,30 @@ export interface MCPToolResource {
|
|
|
509
532
|
/** The headers for the MCP server updates */
|
|
510
533
|
headers: Record<string, string>;
|
|
511
534
|
/** Does MCP server require approval */
|
|
512
|
-
requireApproval?:
|
|
535
|
+
requireApproval?: MCPRequiredApproval;
|
|
513
536
|
}
|
|
514
537
|
export declare function mcpToolResourceSerializer(item: MCPToolResource): any;
|
|
515
538
|
export declare function mcpToolResourceDeserializer(item: any): MCPToolResource;
|
|
539
|
+
/** Alias for MCPRequiredApproval */
|
|
540
|
+
export type MCPRequiredApproval = string | "never" | "always" | MCPApprovalPerTool;
|
|
541
|
+
export declare function mcpRequiredApprovalSerializer(item: MCPRequiredApproval): any;
|
|
542
|
+
export declare function mcpRequiredApprovalDeserializer(item: any): MCPRequiredApproval;
|
|
543
|
+
/** Customized MCP approval object, listing tools requiring and not requiring approvals */
|
|
544
|
+
export interface MCPApprovalPerTool {
|
|
545
|
+
/** The list of tools, not requiring approval. */
|
|
546
|
+
never?: MCPToolList;
|
|
547
|
+
/** The list of tools, always requiring approval. */
|
|
548
|
+
always?: MCPToolList;
|
|
549
|
+
}
|
|
550
|
+
export declare function mcpApprovalPerToolSerializer(item: MCPApprovalPerTool): any;
|
|
551
|
+
export declare function mcpApprovalPerToolDeserializer(item: any): MCPApprovalPerTool;
|
|
552
|
+
/** The object, containing list of tools for approvals. */
|
|
553
|
+
export interface MCPToolList {
|
|
554
|
+
/** The list of tools for approval. */
|
|
555
|
+
toolNames: string[];
|
|
556
|
+
}
|
|
557
|
+
export declare function mcpToolListSerializer(item: MCPToolList): any;
|
|
558
|
+
export declare function mcpToolListDeserializer(item: any): MCPToolList;
|
|
516
559
|
/**
|
|
517
560
|
* An object describing the expected output of the model. If `json_object` only `function` type `tools` are allowed to be passed to the Run.
|
|
518
561
|
* If `text` the model can return text or any value needed.
|
|
@@ -1168,6 +1211,16 @@ export interface _AgentsPagedResultThreadMessage {
|
|
|
1168
1211
|
}
|
|
1169
1212
|
export declare function _agentsPagedResultThreadMessageDeserializer(item: any): _AgentsPagedResultThreadMessage;
|
|
1170
1213
|
export declare function threadMessageArrayDeserializer(result: Array<ThreadMessage>): any[];
|
|
1214
|
+
/** The status of a thread message deletion operation. */
|
|
1215
|
+
export interface MessageDeletionStatus {
|
|
1216
|
+
/** The ID of the resource specified for deletion. */
|
|
1217
|
+
id: string;
|
|
1218
|
+
/** A value indicating whether deletion was successful. */
|
|
1219
|
+
deleted: boolean;
|
|
1220
|
+
/** The object type, which is always 'thread.message.deleted'. */
|
|
1221
|
+
object: "thread.message.deleted";
|
|
1222
|
+
}
|
|
1223
|
+
export declare function messageDeletionStatusDeserializer(item: any): MessageDeletionStatus;
|
|
1171
1224
|
/** The response data for a requested list of items. */
|
|
1172
1225
|
export interface _AgentsPagedResultThreadRun {
|
|
1173
1226
|
/** The requested list of items. */
|
|
@@ -1236,18 +1289,18 @@ export interface RunStep {
|
|
|
1236
1289
|
}
|
|
1237
1290
|
export declare function runStepDeserializer(item: any): RunStep;
|
|
1238
1291
|
/** The possible types of run steps. */
|
|
1239
|
-
export type RunStepType = "message_creation" | "tool_calls";
|
|
1292
|
+
export type RunStepType = "message_creation" | "tool_calls" | "activities";
|
|
1240
1293
|
/** Possible values for the status of a run step. */
|
|
1241
1294
|
export type RunStepStatus = "in_progress" | "cancelled" | "failed" | "completed" | "expired";
|
|
1242
1295
|
/** An abstract representation of the details for a run step. */
|
|
1243
1296
|
export interface RunStepDetails {
|
|
1244
1297
|
/** The object type. */
|
|
1245
|
-
/** The discriminator possible values: message_creation, tool_calls */
|
|
1298
|
+
/** The discriminator possible values: message_creation, tool_calls, activities */
|
|
1246
1299
|
type: RunStepType;
|
|
1247
1300
|
}
|
|
1248
1301
|
export declare function runStepDetailsDeserializer(item: any): RunStepDetails;
|
|
1249
1302
|
/** Alias for RunStepDetailsUnion */
|
|
1250
|
-
export type RunStepDetailsUnion = RunStepMessageCreationDetails | RunStepToolCallDetails | RunStepDetails;
|
|
1303
|
+
export type RunStepDetailsUnion = RunStepMessageCreationDetails | RunStepToolCallDetails | RunStepActivityDetails | RunStepDetails;
|
|
1251
1304
|
export declare function runStepDetailsUnionDeserializer(item: any): RunStepDetailsUnion;
|
|
1252
1305
|
/** The detailed information associated with a message creation run step. */
|
|
1253
1306
|
export interface RunStepMessageCreationDetails extends RunStepDetails {
|
|
@@ -1275,14 +1328,14 @@ export declare function runStepToolCallUnionArrayDeserializer(result: Array<RunS
|
|
|
1275
1328
|
/** An abstract representation of a detailed tool call as recorded within a run step for an existing run. */
|
|
1276
1329
|
export interface RunStepToolCall {
|
|
1277
1330
|
/** The object type. */
|
|
1278
|
-
/** The discriminator possible values: code_interpreter, file_search, bing_grounding, azure_ai_search, mcp, sharepoint_grounding, fabric_dataagent, bing_custom_search, function, openapi, deep_research */
|
|
1331
|
+
/** The discriminator possible values: code_interpreter, file_search, bing_grounding, azure_ai_search, browser_automation, mcp, sharepoint_grounding, fabric_dataagent, bing_custom_search, azure_function, function, openapi, deep_research, connected_agent */
|
|
1279
1332
|
type: string;
|
|
1280
1333
|
/** The ID of the tool call. This ID must be referenced when you submit tool outputs. */
|
|
1281
1334
|
id: string;
|
|
1282
1335
|
}
|
|
1283
1336
|
export declare function runStepToolCallDeserializer(item: any): RunStepToolCall;
|
|
1284
1337
|
/** Alias for RunStepToolCallUnion */
|
|
1285
|
-
export type RunStepToolCallUnion = RunStepCodeInterpreterToolCall | RunStepFileSearchToolCall | RunStepBingGroundingToolCall | RunStepAzureAISearchToolCall | RunStepMcpToolCall | RunStepSharepointToolCall | RunStepMicrosoftFabricToolCall | RunStepBingCustomSearchToolCall | RunStepFunctionToolCall | RunStepOpenAPIToolCall | RunStepDeepResearchToolCall | RunStepToolCall;
|
|
1338
|
+
export type RunStepToolCallUnion = RunStepCodeInterpreterToolCall | RunStepFileSearchToolCall | RunStepBingGroundingToolCall | RunStepAzureAISearchToolCall | RunStepBrowserAutomationToolCall | RunStepMcpToolCall | RunStepSharepointToolCall | RunStepMicrosoftFabricToolCall | RunStepBingCustomSearchToolCall | RunStepAzureFunctionToolCall | RunStepFunctionToolCall | RunStepOpenAPIToolCall | RunStepDeepResearchToolCall | RunStepConnectedAgentToolCall | RunStepToolCall;
|
|
1286
1339
|
export declare function runStepToolCallUnionDeserializer(item: any): RunStepToolCallUnion;
|
|
1287
1340
|
/**
|
|
1288
1341
|
* A record of a call to a code interpreter tool, issued by the model in evaluation of a defined tool, that
|
|
@@ -1386,7 +1439,7 @@ export declare function fileSearchToolCallContentDeserializer(item: any): FileSe
|
|
|
1386
1439
|
export interface RunStepBingGroundingToolCall extends RunStepToolCall {
|
|
1387
1440
|
/** The object type, which is always 'bing_grounding'. */
|
|
1388
1441
|
type: "bing_grounding";
|
|
1389
|
-
/**
|
|
1442
|
+
/** The dictionary with request and response from Bing Grounding search tool. */
|
|
1390
1443
|
bingGrounding: Record<string, string>;
|
|
1391
1444
|
}
|
|
1392
1445
|
export declare function runStepBingGroundingToolCallDeserializer(item: any): RunStepBingGroundingToolCall;
|
|
@@ -1401,6 +1454,35 @@ export interface RunStepAzureAISearchToolCall extends RunStepToolCall {
|
|
|
1401
1454
|
azureAISearch: Record<string, string>;
|
|
1402
1455
|
}
|
|
1403
1456
|
export declare function runStepAzureAISearchToolCallDeserializer(item: any): RunStepAzureAISearchToolCall;
|
|
1457
|
+
/** A record of a call to a Browser Automation tool issued by the Agent. */
|
|
1458
|
+
export interface RunStepBrowserAutomationToolCall extends RunStepToolCall {
|
|
1459
|
+
/** The object type, which is always 'browser_automation'. */
|
|
1460
|
+
type: "browser_automation";
|
|
1461
|
+
/** Details of the browser automation tool call. */
|
|
1462
|
+
browserAutomation: BrowserAutomationToolCallDetails;
|
|
1463
|
+
}
|
|
1464
|
+
export declare function runStepBrowserAutomationToolCallDeserializer(item: any): RunStepBrowserAutomationToolCall;
|
|
1465
|
+
/** Details of a Browser Automation tool call. */
|
|
1466
|
+
export interface BrowserAutomationToolCallDetails {
|
|
1467
|
+
/** The input provided to the Browser Automation tool. */
|
|
1468
|
+
input: string;
|
|
1469
|
+
/** The output returned by the Browser Automation tool. */
|
|
1470
|
+
output: string;
|
|
1471
|
+
/** The steps the Browser Automation tool executed. */
|
|
1472
|
+
steps: BrowserAutomationToolCallStep[];
|
|
1473
|
+
}
|
|
1474
|
+
export declare function browserAutomationToolCallDetailsDeserializer(item: any): BrowserAutomationToolCallDetails;
|
|
1475
|
+
export declare function browserAutomationToolCallStepArrayDeserializer(result: Array<BrowserAutomationToolCallStep>): any[];
|
|
1476
|
+
/** Describes a single step of a Browser Automation tool execution. */
|
|
1477
|
+
export interface BrowserAutomationToolCallStep {
|
|
1478
|
+
/** The result of the last step executed with the Browser. */
|
|
1479
|
+
lastStepResult: string;
|
|
1480
|
+
/** The current state of execution with the Browser. */
|
|
1481
|
+
currentState: string;
|
|
1482
|
+
/** The next step to execute with the Browser. */
|
|
1483
|
+
nextStep: string;
|
|
1484
|
+
}
|
|
1485
|
+
export declare function browserAutomationToolCallStepDeserializer(item: any): BrowserAutomationToolCallStep;
|
|
1404
1486
|
/**
|
|
1405
1487
|
* A record of a call to a MCP tool, issued by the model in evaluation of a defined tool, that represents
|
|
1406
1488
|
* executed MCP actions.
|
|
@@ -1425,7 +1507,7 @@ export declare function runStepMcpToolCallDeserializer(item: any): RunStepMcpToo
|
|
|
1425
1507
|
export interface RunStepSharepointToolCall extends RunStepToolCall {
|
|
1426
1508
|
/** The object type, which is always 'sharepoint_grounding'. */
|
|
1427
1509
|
type: "sharepoint_grounding";
|
|
1428
|
-
/**
|
|
1510
|
+
/** SharePoint tool input and output. */
|
|
1429
1511
|
sharePoint: Record<string, string>;
|
|
1430
1512
|
}
|
|
1431
1513
|
export declare function runStepSharepointToolCallDeserializer(item: any): RunStepSharepointToolCall;
|
|
@@ -1436,21 +1518,42 @@ export declare function runStepSharepointToolCallDeserializer(item: any): RunSte
|
|
|
1436
1518
|
export interface RunStepMicrosoftFabricToolCall extends RunStepToolCall {
|
|
1437
1519
|
/** The object type, which is always 'fabric_dataagent'. */
|
|
1438
1520
|
type: "fabric_dataagent";
|
|
1439
|
-
/**
|
|
1521
|
+
/** Fabric input and output. */
|
|
1440
1522
|
microsoftFabric: Record<string, string>;
|
|
1441
1523
|
}
|
|
1442
1524
|
export declare function runStepMicrosoftFabricToolCallDeserializer(item: any): RunStepMicrosoftFabricToolCall;
|
|
1443
1525
|
/**
|
|
1444
|
-
* A record of a call to a
|
|
1445
|
-
* executed search with
|
|
1526
|
+
* A record of a call to a Bing Custom Search tool, issued by the model in evaluation of a defined tool, that represents
|
|
1527
|
+
* executed search with Bing Custom Search.
|
|
1446
1528
|
*/
|
|
1447
1529
|
export interface RunStepBingCustomSearchToolCall extends RunStepToolCall {
|
|
1448
1530
|
/** The object type, which is always 'bing_custom_search'. */
|
|
1449
1531
|
type: "bing_custom_search";
|
|
1450
|
-
/**
|
|
1532
|
+
/** The dictionary with request and response from Bing Custom Search tool. */
|
|
1451
1533
|
bingCustomSearch: Record<string, string>;
|
|
1452
1534
|
}
|
|
1453
1535
|
export declare function runStepBingCustomSearchToolCallDeserializer(item: any): RunStepBingCustomSearchToolCall;
|
|
1536
|
+
/** A record of a call to an Azure Function tool. */
|
|
1537
|
+
export interface RunStepAzureFunctionToolCall extends RunStepToolCall {
|
|
1538
|
+
/** The object type, which is always 'azure_function'. */
|
|
1539
|
+
type: "azure_function";
|
|
1540
|
+
/** The description of an Azure function call. */
|
|
1541
|
+
azureFunction: AzureFunctionToolCallDetails;
|
|
1542
|
+
}
|
|
1543
|
+
export declare function runStepAzureFunctionToolCallDeserializer(item: any): RunStepAzureFunctionToolCall;
|
|
1544
|
+
/**
|
|
1545
|
+
* The Azure function call description. All the fields are present in the completed run step, however
|
|
1546
|
+
* only some fields are present in the RunStepDeltaAzureFunctionToolCall.
|
|
1547
|
+
*/
|
|
1548
|
+
export interface AzureFunctionToolCallDetails {
|
|
1549
|
+
/** The Azure function name */
|
|
1550
|
+
name?: string;
|
|
1551
|
+
/** JSON serialized function arguments. */
|
|
1552
|
+
arguments?: string;
|
|
1553
|
+
/** The function output. */
|
|
1554
|
+
output?: string;
|
|
1555
|
+
}
|
|
1556
|
+
export declare function azureFunctionToolCallDetailsDeserializer(item: any): AzureFunctionToolCallDetails;
|
|
1454
1557
|
/**
|
|
1455
1558
|
* A record of a call to a function tool, issued by the model in evaluation of a defined tool, that represents the inputs
|
|
1456
1559
|
* and output consumed and emitted by the specified function.
|
|
@@ -1500,6 +1603,81 @@ export interface RunStepDeepResearchToolCallDetails {
|
|
|
1500
1603
|
output?: string;
|
|
1501
1604
|
}
|
|
1502
1605
|
export declare function runStepDeepResearchToolCallDetailsDeserializer(item: any): RunStepDeepResearchToolCallDetails;
|
|
1606
|
+
/** A record of a call to the connected agent. */
|
|
1607
|
+
export interface RunStepConnectedAgentToolCall extends RunStepToolCall {
|
|
1608
|
+
/** The object type, which is always 'connected_agent'. */
|
|
1609
|
+
type: "connected_agent";
|
|
1610
|
+
/** The connected agent step information. */
|
|
1611
|
+
connectedAgent: RunStepConnectedAgent;
|
|
1612
|
+
}
|
|
1613
|
+
export declare function runStepConnectedAgentToolCallDeserializer(item: any): RunStepConnectedAgentToolCall;
|
|
1614
|
+
/** The detailed information about connected agent tool call. */
|
|
1615
|
+
export interface RunStepConnectedAgent {
|
|
1616
|
+
/** The name of connected agent. */
|
|
1617
|
+
name?: string;
|
|
1618
|
+
/** The JSON serialized query to the connected agent. */
|
|
1619
|
+
arguments?: string;
|
|
1620
|
+
/** The tool output. */
|
|
1621
|
+
output?: string;
|
|
1622
|
+
/** The run ID used by the connected agent. */
|
|
1623
|
+
runId?: string;
|
|
1624
|
+
/** The thread ID used by the connected agent. */
|
|
1625
|
+
threadId?: string;
|
|
1626
|
+
/** The ID of a connected agent. */
|
|
1627
|
+
agentId?: string;
|
|
1628
|
+
}
|
|
1629
|
+
export declare function runStepConnectedAgentDeserializer(item: any): RunStepConnectedAgent;
|
|
1630
|
+
/** The detailed information associated with a run step activities. */
|
|
1631
|
+
export interface RunStepActivityDetails extends RunStepDetails {
|
|
1632
|
+
/** The object type, which is always 'activities'. */
|
|
1633
|
+
type: "activities";
|
|
1634
|
+
/** A list of activities for this run step. */
|
|
1635
|
+
activities: RunStepDetailsActivity[];
|
|
1636
|
+
}
|
|
1637
|
+
export declare function runStepActivityDetailsDeserializer(item: any): RunStepActivityDetails;
|
|
1638
|
+
export declare function runStepDetailsActivityArrayDeserializer(result: Array<RunStepDetailsActivity>): any[];
|
|
1639
|
+
/** Represents the list of activities, associated with the given step. */
|
|
1640
|
+
export interface RunStepDetailsActivity {
|
|
1641
|
+
/** The activity type, which is always 'mcp_list_tools'. */
|
|
1642
|
+
type: "mcp_list_tools";
|
|
1643
|
+
/** The activity ID. */
|
|
1644
|
+
id: string;
|
|
1645
|
+
/** Server label. */
|
|
1646
|
+
serverLabel: string;
|
|
1647
|
+
/** The supported function list. */
|
|
1648
|
+
tools: Record<string, ActivityFunctionDefinition>;
|
|
1649
|
+
}
|
|
1650
|
+
export declare function runStepDetailsActivityDeserializer(item: any): RunStepDetailsActivity;
|
|
1651
|
+
export declare function activityFunctionDefinitionRecordDeserializer(item: Record<string, any>): Record<string, ActivityFunctionDefinition>;
|
|
1652
|
+
/** The activity definition information for a function. */
|
|
1653
|
+
export interface ActivityFunctionDefinition {
|
|
1654
|
+
/** A description of what the function does, used by the model to choose when and how to call the function. */
|
|
1655
|
+
description?: string;
|
|
1656
|
+
/** The parameters the functions accepts, described as a JSON Schema object. */
|
|
1657
|
+
parameters: ActivityFunctionParameters;
|
|
1658
|
+
}
|
|
1659
|
+
export declare function activityFunctionDefinitionDeserializer(item: any): ActivityFunctionDefinition;
|
|
1660
|
+
/** The parameters used for activity function definition. */
|
|
1661
|
+
export interface ActivityFunctionParameters {
|
|
1662
|
+
/** The parameter type, it is always object. */
|
|
1663
|
+
type: "object";
|
|
1664
|
+
/** The dictionary of function arguments. */
|
|
1665
|
+
properties: Record<string, FunctionArgument>;
|
|
1666
|
+
/** The list of the required parameters. */
|
|
1667
|
+
required: string[];
|
|
1668
|
+
/** If true the function has additional parameters. */
|
|
1669
|
+
additionalProperties?: boolean;
|
|
1670
|
+
}
|
|
1671
|
+
export declare function activityFunctionParametersDeserializer(item: any): ActivityFunctionParameters;
|
|
1672
|
+
export declare function functionArgumentRecordDeserializer(item: Record<string, any>): Record<string, FunctionArgument>;
|
|
1673
|
+
/** The function argument and description. */
|
|
1674
|
+
export interface FunctionArgument {
|
|
1675
|
+
/** The type of an argument, for example 'string' or 'number'. */
|
|
1676
|
+
type: string;
|
|
1677
|
+
/** The argument description. */
|
|
1678
|
+
description?: string;
|
|
1679
|
+
}
|
|
1680
|
+
export declare function functionArgumentDeserializer(item: any): FunctionArgument;
|
|
1503
1681
|
/** The error information associated with a failed run step. */
|
|
1504
1682
|
export interface RunStepError {
|
|
1505
1683
|
/** The error code for this error. */
|
|
@@ -1955,12 +2133,12 @@ export declare function runStepDeltaDeserializer(item: any): RunStepDelta;
|
|
|
1955
2133
|
/** Represents a single run step detail item in a streaming run step's delta payload. */
|
|
1956
2134
|
export interface RunStepDeltaDetail {
|
|
1957
2135
|
/** The object type for the run step detail object. */
|
|
1958
|
-
/** The discriminator possible values: message_creation, tool_calls */
|
|
2136
|
+
/** The discriminator possible values: message_creation, tool_calls, mcp, openapi */
|
|
1959
2137
|
type: string;
|
|
1960
2138
|
}
|
|
1961
2139
|
export declare function runStepDeltaDetailDeserializer(item: any): RunStepDeltaDetail;
|
|
1962
2140
|
/** Alias for RunStepDeltaDetailUnion */
|
|
1963
|
-
export type RunStepDeltaDetailUnion = RunStepDeltaMessageCreation | RunStepDeltaToolCallObject | RunStepDeltaDetail;
|
|
2141
|
+
export type RunStepDeltaDetailUnion = RunStepDeltaMessageCreation | RunStepDeltaToolCallObject | RunStepDeltaMCPObject | RunStepDeltaOpenAPIObject | RunStepDeltaDetail;
|
|
1964
2142
|
export declare function runStepDeltaDetailUnionDeserializer(item: any): RunStepDeltaDetailUnion;
|
|
1965
2143
|
/** Represents a message creation within a streaming run step delta. */
|
|
1966
2144
|
export interface RunStepDeltaMessageCreation extends RunStepDeltaDetail {
|
|
@@ -1992,13 +2170,39 @@ export interface RunStepDeltaToolCall {
|
|
|
1992
2170
|
/** The ID of the tool call, used when submitting outputs to the run. */
|
|
1993
2171
|
id: string;
|
|
1994
2172
|
/** The type of the tool call detail item in a streaming run step's details. */
|
|
1995
|
-
/** The discriminator possible values: function, file_search, code_interpreter */
|
|
2173
|
+
/** The discriminator possible values: mcp, openapi, connected_agent, function, file_search, code_interpreter, bing_grounding, bing_custom_search, azure_function, deep_research, azure_ai_search, fabric_dataagent, sharepoint_grounding */
|
|
1996
2174
|
type: string;
|
|
1997
2175
|
}
|
|
1998
2176
|
export declare function runStepDeltaToolCallDeserializer(item: any): RunStepDeltaToolCall;
|
|
1999
2177
|
/** Alias for RunStepDeltaToolCallUnion */
|
|
2000
|
-
export type RunStepDeltaToolCallUnion = RunStepDeltaFunctionToolCall | RunStepDeltaFileSearchToolCall | RunStepDeltaCodeInterpreterToolCall | RunStepDeltaToolCall;
|
|
2178
|
+
export type RunStepDeltaToolCallUnion = RunStepDeltaMcpToolCall | RunStepDeltaOpenAPIToolCall | RunStepDeltaConnectedAgentToolCall | RunStepDeltaFunctionToolCall | RunStepDeltaFileSearchToolCall | RunStepDeltaCodeInterpreterToolCall | RunStepDeltaBingGroundingToolCall | RunStepDeltaCustomBingGroundingToolCall | RunStepDeltaAzureFunctionToolCall | RunStepDeltaDeepResearchToolCall | RunStepDeltaAzureAISearchToolCall | RunStepDeltaMicrosoftFabricToolCall | RunStepDeltaSharepointToolCall | RunStepDeltaToolCall;
|
|
2001
2179
|
export declare function runStepDeltaToolCallUnionDeserializer(item: any): RunStepDeltaToolCallUnion;
|
|
2180
|
+
/** Represents the function data in a streaming run step MCP call. */
|
|
2181
|
+
export interface RunStepDeltaMcpToolCall extends RunStepDeltaToolCall {
|
|
2182
|
+
/** The object type, which is always "mcp". */
|
|
2183
|
+
type: "mcp";
|
|
2184
|
+
/** The index of a response. */
|
|
2185
|
+
index: number;
|
|
2186
|
+
/** The arguments for MCP call. */
|
|
2187
|
+
arguments: string;
|
|
2188
|
+
}
|
|
2189
|
+
export declare function runStepDeltaMcpToolCallDeserializer(item: any): RunStepDeltaMcpToolCall;
|
|
2190
|
+
/** Represents the openapi tool call in a streaming run step. */
|
|
2191
|
+
export interface RunStepDeltaOpenAPIToolCall extends RunStepDeltaToolCall {
|
|
2192
|
+
/** The object type, which is always "openapi". */
|
|
2193
|
+
type: "openapi";
|
|
2194
|
+
/** Reserved for future use. */
|
|
2195
|
+
openAPI: Record<string, string>;
|
|
2196
|
+
}
|
|
2197
|
+
export declare function runStepDeltaOpenAPIToolCallDeserializer(item: any): RunStepDeltaOpenAPIToolCall;
|
|
2198
|
+
/** Represents the invocation of connected agent as a part of a streaming run step. */
|
|
2199
|
+
export interface RunStepDeltaConnectedAgentToolCall extends RunStepDeltaToolCall {
|
|
2200
|
+
/** The object type, which is always "connected_agent". */
|
|
2201
|
+
type: "connected_agent";
|
|
2202
|
+
/** The collection of tool calls for the tool call detail item. */
|
|
2203
|
+
connectedAgent: RunStepConnectedAgent;
|
|
2204
|
+
}
|
|
2205
|
+
export declare function runStepDeltaConnectedAgentToolCallDeserializer(item: any): RunStepDeltaConnectedAgentToolCall;
|
|
2002
2206
|
/** Represents a function tool call within a streaming run step's tool call details. */
|
|
2003
2207
|
export interface RunStepDeltaFunctionToolCall extends RunStepDeltaToolCall {
|
|
2004
2208
|
/** The object type, which is always "function." */
|
|
@@ -2080,6 +2284,80 @@ export interface RunStepDeltaCodeInterpreterImageOutputObject {
|
|
|
2080
2284
|
fileId?: string;
|
|
2081
2285
|
}
|
|
2082
2286
|
export declare function runStepDeltaCodeInterpreterImageOutputObjectDeserializer(item: any): RunStepDeltaCodeInterpreterImageOutputObject;
|
|
2287
|
+
/** Represents the bing grounding tool call in a streaming run step. */
|
|
2288
|
+
export interface RunStepDeltaBingGroundingToolCall extends RunStepDeltaToolCall {
|
|
2289
|
+
/** The object type, which is always "bing_grounding". */
|
|
2290
|
+
type: "bing_grounding";
|
|
2291
|
+
/** The dictionary with request and response from Bing Grounding search tool. */
|
|
2292
|
+
bingGrounding: Record<string, string>;
|
|
2293
|
+
}
|
|
2294
|
+
export declare function runStepDeltaBingGroundingToolCallDeserializer(item: any): RunStepDeltaBingGroundingToolCall;
|
|
2295
|
+
/** Represents the Bing Custom Search tool call in a streaming run step. */
|
|
2296
|
+
export interface RunStepDeltaCustomBingGroundingToolCall extends RunStepDeltaToolCall {
|
|
2297
|
+
/** The object type, which is always 'bing_custom_search'. */
|
|
2298
|
+
type: "bing_custom_search";
|
|
2299
|
+
/** The dictionary with request and response from Bing Custom Search tool. */
|
|
2300
|
+
bingCustomSearch: Record<string, string>;
|
|
2301
|
+
}
|
|
2302
|
+
export declare function runStepDeltaCustomBingGroundingToolCallDeserializer(item: any): RunStepDeltaCustomBingGroundingToolCall;
|
|
2303
|
+
/** Represents the Azure Function tool call in a streaming run step. */
|
|
2304
|
+
export interface RunStepDeltaAzureFunctionToolCall extends RunStepDeltaToolCall {
|
|
2305
|
+
/** The object type, which is always 'azure_function'. */
|
|
2306
|
+
type: "azure_function";
|
|
2307
|
+
/** Partial description of an Azure function call. */
|
|
2308
|
+
azureFunction: AzureFunctionToolCallDetails;
|
|
2309
|
+
}
|
|
2310
|
+
export declare function runStepDeltaAzureFunctionToolCallDeserializer(item: any): RunStepDeltaAzureFunctionToolCall;
|
|
2311
|
+
/** Represents the Deep research in a streaming run step. */
|
|
2312
|
+
export interface RunStepDeltaDeepResearchToolCall extends RunStepDeltaToolCall {
|
|
2313
|
+
/** The object type, which is always "deep_research". */
|
|
2314
|
+
type: "deep_research";
|
|
2315
|
+
/** The details of DeepResearch tool call. */
|
|
2316
|
+
deepResearch: RunStepDeepResearchToolCallDetails;
|
|
2317
|
+
}
|
|
2318
|
+
export declare function runStepDeltaDeepResearchToolCallDeserializer(item: any): RunStepDeltaDeepResearchToolCall;
|
|
2319
|
+
/** Represents the Azure AI Search in a streaming run step. */
|
|
2320
|
+
export interface RunStepDeltaAzureAISearchToolCall extends RunStepDeltaToolCall {
|
|
2321
|
+
/** The object type, which is always "azure_ai_search". */
|
|
2322
|
+
type: "azure_ai_search";
|
|
2323
|
+
/** Reserved for future use. */
|
|
2324
|
+
azureAISearch: Record<string, string>;
|
|
2325
|
+
}
|
|
2326
|
+
export declare function runStepDeltaAzureAISearchToolCallDeserializer(item: any): RunStepDeltaAzureAISearchToolCall;
|
|
2327
|
+
/** Represents the Microsoft Fabric tool call in a streaming run step. */
|
|
2328
|
+
export interface RunStepDeltaMicrosoftFabricToolCall extends RunStepDeltaToolCall {
|
|
2329
|
+
/** The object type, which is always 'fabric_dataagent' */
|
|
2330
|
+
type: "fabric_dataagent";
|
|
2331
|
+
/** Fabric input and output. */
|
|
2332
|
+
microsoftFabric: Record<string, string>;
|
|
2333
|
+
}
|
|
2334
|
+
export declare function runStepDeltaMicrosoftFabricToolCallDeserializer(item: any): RunStepDeltaMicrosoftFabricToolCall;
|
|
2335
|
+
/** Represents the SharePoint tool call in a streaming run step. */
|
|
2336
|
+
export interface RunStepDeltaSharepointToolCall extends RunStepDeltaToolCall {
|
|
2337
|
+
/** The object type, which is always 'sharepoint_grounding' */
|
|
2338
|
+
type: "sharepoint_grounding";
|
|
2339
|
+
/** SharePoint tool input and output. */
|
|
2340
|
+
sharepointGrounding: Record<string, string>;
|
|
2341
|
+
}
|
|
2342
|
+
export declare function runStepDeltaSharepointToolCallDeserializer(item: any): RunStepDeltaSharepointToolCall;
|
|
2343
|
+
/** Represents an invocation of mcp as part of a streaming run step. */
|
|
2344
|
+
export interface RunStepDeltaMCPObject extends RunStepDeltaDetail {
|
|
2345
|
+
/** The object type, which is always "mcp". */
|
|
2346
|
+
type: "mcp";
|
|
2347
|
+
/** The collection of tool calls for the tool call detail item. */
|
|
2348
|
+
toolCalls?: RunStepDeltaMcpToolCall[];
|
|
2349
|
+
}
|
|
2350
|
+
export declare function runStepDeltaMCPObjectDeserializer(item: any): RunStepDeltaMCPObject;
|
|
2351
|
+
export declare function runStepDeltaMcpToolCallArrayDeserializer(result: Array<RunStepDeltaMcpToolCall>): any[];
|
|
2352
|
+
/** Represents an invocation of openapi as part of a streaming run step. */
|
|
2353
|
+
export interface RunStepDeltaOpenAPIObject extends RunStepDeltaDetail {
|
|
2354
|
+
/** The object type, which is always "openapi". */
|
|
2355
|
+
type: "openapi";
|
|
2356
|
+
/** The collection of tool calls for the tool call detail item. */
|
|
2357
|
+
toolCalls?: RunStepDeltaOpenAPIToolCall[];
|
|
2358
|
+
}
|
|
2359
|
+
export declare function runStepDeltaOpenAPIObjectDeserializer(item: any): RunStepDeltaOpenAPIObject;
|
|
2360
|
+
export declare function runStepDeltaOpenAPIToolCallArrayDeserializer(result: Array<RunStepDeltaOpenAPIToolCall>): any[];
|
|
2083
2361
|
/** Alias for AgentStreamEvent */
|
|
2084
2362
|
export type AgentStreamEvent = string | ThreadStreamEvent | RunStreamEvent | RunStepStreamEvent | MessageStreamEvent | ErrorEvent | DoneEvent;
|
|
2085
2363
|
export declare function agentStreamEventDeserializer(item: any): AgentStreamEvent;
|
|
@@ -2159,11 +2437,11 @@ export type RunAdditionalFieldList = "step_details.tool_calls[*].file_search.res
|
|
|
2159
2437
|
export type VectorStoreFileStatusFilter = "in_progress" | "completed" | "failed" | "cancelled";
|
|
2160
2438
|
/** Azure AI Agents API versions */
|
|
2161
2439
|
export declare enum KnownVersions {
|
|
2162
|
-
/** Azure AI API version 2025-05-15-preview. */
|
|
2163
|
-
V20250515Preview = "2025-05-15-preview",
|
|
2164
2440
|
/** Azure AI API version 2025-05-01. */
|
|
2165
2441
|
V20250501 = "2025-05-01",
|
|
2166
2442
|
/** Azure AI API version v1. */
|
|
2167
|
-
V1 = "v1"
|
|
2443
|
+
V1 = "v1",
|
|
2444
|
+
/** Azure AI API version 2025-05-15-preview. */
|
|
2445
|
+
V20250515Preview = "2025-05-15-preview"
|
|
2168
2446
|
}
|
|
2169
2447
|
//# sourceMappingURL=models.d.ts.map
|