@azure/ai-agents 1.1.0 → 1.2.0-alpha.20250924.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/dist/browser/api/agentsContext.js +3 -3
- 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 +13 -8
- package/dist/browser/api/runs/operations.js.map +1 -1
- package/dist/browser/api/runs/options.d.ts +5 -1
- package/dist/browser/api/runs/options.d.ts.map +1 -1
- package/dist/browser/api/runs/options.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.d.ts.map +1 -1
- package/dist/browser/constants.js +1 -1
- package/dist/browser/constants.js.map +1 -1
- package/dist/browser/index.d.ts +4 -2
- package/dist/browser/index.d.ts.map +1 -1
- package/dist/browser/index.js +2 -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 +544 -18
- package/dist/browser/models/models.d.ts.map +1 -1
- package/dist/browser/models/models.js +653 -0
- 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 +89 -0
- package/dist/browser/utils/MCPTool.d.ts.map +1 -0
- package/dist/browser/utils/MCPTool.js +160 -0
- package/dist/browser/utils/MCPTool.js.map +1 -0
- 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 +25 -1
- package/dist/browser/utils/utils.d.ts.map +1 -1
- package/dist/browser/utils/utils.js +22 -10
- package/dist/browser/utils/utils.js.map +1 -1
- package/dist/commonjs/api/agentsContext.js +3 -3
- 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 -7
- package/dist/commonjs/api/runs/operations.js.map +1 -1
- package/dist/commonjs/api/runs/options.d.ts +5 -1
- package/dist/commonjs/api/runs/options.d.ts.map +1 -1
- package/dist/commonjs/api/runs/options.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.d.ts.map +1 -1
- package/dist/commonjs/constants.js +1 -1
- package/dist/commonjs/constants.js.map +1 -1
- package/dist/commonjs/index.d.ts +4 -2
- package/dist/commonjs/index.d.ts.map +1 -1
- package/dist/commonjs/index.js +5 -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 +544 -18
- package/dist/commonjs/models/models.d.ts.map +1 -1
- package/dist/commonjs/models/models.js +741 -0
- 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 +89 -0
- package/dist/commonjs/utils/MCPTool.d.ts.map +1 -0
- package/dist/commonjs/utils/MCPTool.js +164 -0
- package/dist/commonjs/utils/MCPTool.js.map +1 -0
- 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 +25 -1
- package/dist/commonjs/utils/utils.d.ts.map +1 -1
- package/dist/commonjs/utils/utils.js +22 -10
- package/dist/commonjs/utils/utils.js.map +1 -1
- package/dist/esm/api/agentsContext.js +3 -3
- 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 +13 -8
- package/dist/esm/api/runs/operations.js.map +1 -1
- package/dist/esm/api/runs/options.d.ts +5 -1
- package/dist/esm/api/runs/options.d.ts.map +1 -1
- package/dist/esm/api/runs/options.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.d.ts.map +1 -1
- package/dist/esm/constants.js +1 -1
- package/dist/esm/constants.js.map +1 -1
- package/dist/esm/index.d.ts +4 -2
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +2 -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 +544 -18
- package/dist/esm/models/models.d.ts.map +1 -1
- package/dist/esm/models/models.js +653 -0
- 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 +89 -0
- package/dist/esm/utils/MCPTool.d.ts.map +1 -0
- package/dist/esm/utils/MCPTool.js +160 -0
- package/dist/esm/utils/MCPTool.js.map +1 -0
- 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 +25 -1
- package/dist/esm/utils/utils.d.ts.map +1 -1
- package/dist/esm/utils/utils.js +22 -10
- package/dist/esm/utils/utils.js.map +1 -1
- package/dist/react-native/api/agentsContext.js +3 -3
- 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 +13 -8
- package/dist/react-native/api/runs/operations.js.map +1 -1
- package/dist/react-native/api/runs/options.d.ts +5 -1
- package/dist/react-native/api/runs/options.d.ts.map +1 -1
- package/dist/react-native/api/runs/options.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.d.ts.map +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 +4 -2
- package/dist/react-native/index.d.ts.map +1 -1
- package/dist/react-native/index.js +2 -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 +544 -18
- package/dist/react-native/models/models.d.ts.map +1 -1
- package/dist/react-native/models/models.js +653 -0
- 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 +89 -0
- package/dist/react-native/utils/MCPTool.d.ts.map +1 -0
- package/dist/react-native/utils/MCPTool.js +160 -0
- package/dist/react-native/utils/MCPTool.js.map +1 -0
- 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 +25 -1
- package/dist/react-native/utils/utils.d.ts.map +1 -1
- package/dist/react-native/utils/utils.js +22 -10
- 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, azure_ai_search, openapi, connected_agent, 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 | AzureAISearchToolDefinition | OpenApiToolDefinition | ConnectedAgentToolDefinition | 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. */
|
|
@@ -105,6 +105,53 @@ export interface BingGroundingSearchConfiguration {
|
|
|
105
105
|
}
|
|
106
106
|
export declare function bingGroundingSearchConfigurationSerializer(item: BingGroundingSearchConfiguration): any;
|
|
107
107
|
export declare function bingGroundingSearchConfigurationDeserializer(item: any): BingGroundingSearchConfiguration;
|
|
108
|
+
/** The input definition information for a Microsoft Fabric tool as used to configure an agent. */
|
|
109
|
+
export interface MicrosoftFabricToolDefinition extends ToolDefinition {
|
|
110
|
+
/** The object type, which is always 'fabric_dataagent'. */
|
|
111
|
+
type: "fabric_dataagent";
|
|
112
|
+
/** The fabric data agent tool parameters. */
|
|
113
|
+
fabricDataagent: FabricDataAgentToolParameters;
|
|
114
|
+
}
|
|
115
|
+
export declare function microsoftFabricToolDefinitionSerializer(item: MicrosoftFabricToolDefinition): any;
|
|
116
|
+
export declare function microsoftFabricToolDefinitionDeserializer(item: any): MicrosoftFabricToolDefinition;
|
|
117
|
+
/** The fabric data agent tool parameters. */
|
|
118
|
+
export interface FabricDataAgentToolParameters {
|
|
119
|
+
/**
|
|
120
|
+
* The connections attached to this tool. There can be a maximum of 1 connection
|
|
121
|
+
* resource attached to the tool.
|
|
122
|
+
*/
|
|
123
|
+
connectionList?: ToolConnection[];
|
|
124
|
+
}
|
|
125
|
+
export declare function fabricDataAgentToolParametersSerializer(item: FabricDataAgentToolParameters): any;
|
|
126
|
+
export declare function fabricDataAgentToolParametersDeserializer(item: any): FabricDataAgentToolParameters;
|
|
127
|
+
export declare function toolConnectionArraySerializer(result: Array<ToolConnection>): any[];
|
|
128
|
+
export declare function toolConnectionArrayDeserializer(result: Array<ToolConnection>): any[];
|
|
129
|
+
/** A connection resource. */
|
|
130
|
+
export interface ToolConnection {
|
|
131
|
+
/** A connection in a ToolConnectionList attached to this tool. */
|
|
132
|
+
connectionId: string;
|
|
133
|
+
}
|
|
134
|
+
export declare function toolConnectionSerializer(item: ToolConnection): any;
|
|
135
|
+
export declare function toolConnectionDeserializer(item: any): ToolConnection;
|
|
136
|
+
/** The input definition information for a sharepoint tool as used to configure an agent. */
|
|
137
|
+
export interface SharepointToolDefinition extends ToolDefinition {
|
|
138
|
+
/** The object type, which is always 'sharepoint_grounding'. */
|
|
139
|
+
type: "sharepoint_grounding";
|
|
140
|
+
/** The sharepoint grounding tool parameters. */
|
|
141
|
+
sharepointGrounding: SharepointGroundingToolParameters;
|
|
142
|
+
}
|
|
143
|
+
export declare function sharepointToolDefinitionSerializer(item: SharepointToolDefinition): any;
|
|
144
|
+
export declare function sharepointToolDefinitionDeserializer(item: any): SharepointToolDefinition;
|
|
145
|
+
/** The sharepoint grounding tool parameters. */
|
|
146
|
+
export interface SharepointGroundingToolParameters {
|
|
147
|
+
/**
|
|
148
|
+
* The connections attached to this tool. There can be a maximum of 1 connection
|
|
149
|
+
* resource attached to the tool.
|
|
150
|
+
*/
|
|
151
|
+
connectionList?: ToolConnection[];
|
|
152
|
+
}
|
|
153
|
+
export declare function sharepointGroundingToolParametersSerializer(item: SharepointGroundingToolParameters): any;
|
|
154
|
+
export declare function sharepointGroundingToolParametersDeserializer(item: any): SharepointGroundingToolParameters;
|
|
108
155
|
/** The input definition information for an Azure AI search tool as used to configure an agent. */
|
|
109
156
|
export interface AzureAISearchToolDefinition extends ToolDefinition {
|
|
110
157
|
/** The object type, which is always 'azure_ai_search'. */
|
|
@@ -198,6 +245,44 @@ export declare function openApiManagedSecuritySchemeSerializer(item: OpenApiMana
|
|
|
198
245
|
export declare function openApiManagedSecuritySchemeDeserializer(item: any): OpenApiManagedSecurityScheme;
|
|
199
246
|
export declare function functionDefinitionArraySerializer(result: Array<FunctionDefinition>): any[];
|
|
200
247
|
export declare function functionDefinitionArrayDeserializer(result: Array<FunctionDefinition>): any[];
|
|
248
|
+
/** The input definition information for a Bing custom search tool as used to configure an agent. */
|
|
249
|
+
export interface BingCustomSearchToolDefinition extends ToolDefinition {
|
|
250
|
+
/** The object type, which is always 'bing_custom_search'. */
|
|
251
|
+
type: "bing_custom_search";
|
|
252
|
+
/** The bing custom search tool parameters. */
|
|
253
|
+
bingCustomSearch: BingCustomSearchToolParameters;
|
|
254
|
+
}
|
|
255
|
+
export declare function bingCustomSearchToolDefinitionSerializer(item: BingCustomSearchToolDefinition): any;
|
|
256
|
+
export declare function bingCustomSearchToolDefinitionDeserializer(item: any): BingCustomSearchToolDefinition;
|
|
257
|
+
/** The bing custom search tool parameters. */
|
|
258
|
+
export interface BingCustomSearchToolParameters {
|
|
259
|
+
/**
|
|
260
|
+
* The connections attached to this tool. There can be a maximum of 1 connection
|
|
261
|
+
* resource attached to the tool.
|
|
262
|
+
*/
|
|
263
|
+
searchConfigurations: BingCustomSearchConfiguration[];
|
|
264
|
+
}
|
|
265
|
+
export declare function bingCustomSearchToolParametersSerializer(item: BingCustomSearchToolParameters): any;
|
|
266
|
+
export declare function bingCustomSearchToolParametersDeserializer(item: any): BingCustomSearchToolParameters;
|
|
267
|
+
export declare function bingCustomSearchConfigurationArraySerializer(result: Array<BingCustomSearchConfiguration>): any[];
|
|
268
|
+
export declare function bingCustomSearchConfigurationArrayDeserializer(result: Array<BingCustomSearchConfiguration>): any[];
|
|
269
|
+
/** A bing custom search configuration. */
|
|
270
|
+
export interface BingCustomSearchConfiguration {
|
|
271
|
+
/** Connection id for grounding with bing search */
|
|
272
|
+
connectionId: string;
|
|
273
|
+
/** Name of the custom configuration instance given to config. */
|
|
274
|
+
instanceName: string;
|
|
275
|
+
/** The market where the results come from. */
|
|
276
|
+
market?: string;
|
|
277
|
+
/** The language to use for user interface strings when calling Bing API. */
|
|
278
|
+
setLang?: string;
|
|
279
|
+
/** The number of search results to return in the bing api response */
|
|
280
|
+
count?: number;
|
|
281
|
+
/** Filter search results by a specific time range. Accepted values: https://learn.microsoft.com/bing/search-apis/bing-web-search/reference/query-parameters */
|
|
282
|
+
freshness?: string;
|
|
283
|
+
}
|
|
284
|
+
export declare function bingCustomSearchConfigurationSerializer(item: BingCustomSearchConfiguration): any;
|
|
285
|
+
export declare function bingCustomSearchConfigurationDeserializer(item: any): BingCustomSearchConfiguration;
|
|
201
286
|
/** The input definition information for a connected agent tool which defines a domain specific sub-agent */
|
|
202
287
|
export interface ConnectedAgentToolDefinition extends ToolDefinition {
|
|
203
288
|
/** The object type, which is always 'connected_agent'. */
|
|
@@ -218,6 +303,46 @@ export interface ConnectedAgentDetails {
|
|
|
218
303
|
}
|
|
219
304
|
export declare function connectedAgentDetailsSerializer(item: ConnectedAgentDetails): any;
|
|
220
305
|
export declare function connectedAgentDetailsDeserializer(item: any): ConnectedAgentDetails;
|
|
306
|
+
/** The input definition information for a Deep Research tool as used to configure an agent. */
|
|
307
|
+
export interface DeepResearchToolDefinition extends ToolDefinition {
|
|
308
|
+
/** The object type, which is always 'deep_research'. */
|
|
309
|
+
type: "deep_research";
|
|
310
|
+
/** The deep_research tool definition configuration. */
|
|
311
|
+
deepResearch: DeepResearchDetails;
|
|
312
|
+
}
|
|
313
|
+
export declare function deepResearchToolDefinitionSerializer(item: DeepResearchToolDefinition): any;
|
|
314
|
+
export declare function deepResearchToolDefinitionDeserializer(item: any): DeepResearchToolDefinition;
|
|
315
|
+
/** The details of the Deep Research tool. */
|
|
316
|
+
export interface DeepResearchDetails {
|
|
317
|
+
/** The deep research model deployment name. */
|
|
318
|
+
model: string;
|
|
319
|
+
/** The array containing Bing grounding connection IDs to enhance deep research capabilities. */
|
|
320
|
+
bingGroundingConnections: DeepResearchBingGroundingConnection[];
|
|
321
|
+
}
|
|
322
|
+
export declare function deepResearchDetailsSerializer(item: DeepResearchDetails): any;
|
|
323
|
+
export declare function deepResearchDetailsDeserializer(item: any): DeepResearchDetails;
|
|
324
|
+
export declare function deepResearchBingGroundingConnectionArraySerializer(result: Array<DeepResearchBingGroundingConnection>): any[];
|
|
325
|
+
export declare function deepResearchBingGroundingConnectionArrayDeserializer(result: Array<DeepResearchBingGroundingConnection>): any[];
|
|
326
|
+
/** The connection resource ID for the Bing grounding resource . */
|
|
327
|
+
export interface DeepResearchBingGroundingConnection {
|
|
328
|
+
/** The connection ID for the Bing grounding connection. */
|
|
329
|
+
connectionId: string;
|
|
330
|
+
}
|
|
331
|
+
export declare function deepResearchBingGroundingConnectionSerializer(item: DeepResearchBingGroundingConnection): any;
|
|
332
|
+
export declare function deepResearchBingGroundingConnectionDeserializer(item: any): DeepResearchBingGroundingConnection;
|
|
333
|
+
/** The input definition information for a MCP tool which defines a MCP server endpoint */
|
|
334
|
+
export interface MCPToolDefinition extends ToolDefinition {
|
|
335
|
+
/** The object type, which is always 'mcp'. */
|
|
336
|
+
type: "mcp";
|
|
337
|
+
/** The label for the MCP server */
|
|
338
|
+
serverLabel: string;
|
|
339
|
+
/** The endpoint for the MCP server */
|
|
340
|
+
serverUrl: string;
|
|
341
|
+
/** List of allowed tools for MCP server */
|
|
342
|
+
allowedTools?: string[];
|
|
343
|
+
}
|
|
344
|
+
export declare function mcpToolDefinitionSerializer(item: MCPToolDefinition): any;
|
|
345
|
+
export declare function mcpToolDefinitionDeserializer(item: any): MCPToolDefinition;
|
|
221
346
|
/** The input definition information for a azure function tool as used to configure an agent. */
|
|
222
347
|
export interface AzureFunctionToolDefinition extends ToolDefinition {
|
|
223
348
|
/** The object type, which is always 'azure_function'. */
|
|
@@ -256,6 +381,29 @@ export interface AzureFunctionStorageQueue {
|
|
|
256
381
|
}
|
|
257
382
|
export declare function azureFunctionStorageQueueSerializer(item: AzureFunctionStorageQueue): any;
|
|
258
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;
|
|
259
407
|
/**
|
|
260
408
|
* A set of resources that are used by the agent's tools. The resources are specific to the type of
|
|
261
409
|
* tool. For example, the `code_interpreter` tool requires a list of file IDs, while the `file_search`
|
|
@@ -268,6 +416,8 @@ export interface ToolResources {
|
|
|
268
416
|
fileSearch?: FileSearchToolResource;
|
|
269
417
|
/** Resources to be used by the `azure_ai_search` tool consisting of index IDs and names. */
|
|
270
418
|
azureAISearch?: AzureAISearchToolResource;
|
|
419
|
+
/** Resources to be used by the `mcp` tool consisting of a server label and headers. */
|
|
420
|
+
mcp?: MCPToolResource[];
|
|
271
421
|
}
|
|
272
422
|
export declare function toolResourcesSerializer(item: ToolResources): any;
|
|
273
423
|
export declare function toolResourcesDeserializer(item: any): ToolResources;
|
|
@@ -373,6 +523,39 @@ export declare function aiSearchIndexResourceSerializer(item: AISearchIndexResou
|
|
|
373
523
|
export declare function aiSearchIndexResourceDeserializer(item: any): AISearchIndexResource;
|
|
374
524
|
/** Available query types for Azure AI Search tool. */
|
|
375
525
|
export type AzureAISearchQueryType = "simple" | "semantic" | "vector" | "vector_simple_hybrid" | "vector_semantic_hybrid";
|
|
526
|
+
export declare function mcpToolResourceArraySerializer(result: Array<MCPToolResource>): any[];
|
|
527
|
+
export declare function mcpToolResourceArrayDeserializer(result: Array<MCPToolResource>): any[];
|
|
528
|
+
/** A set of resources that are used by the `mcp` tool. */
|
|
529
|
+
export interface MCPToolResource {
|
|
530
|
+
/** The label for the MCP server */
|
|
531
|
+
serverLabel: string;
|
|
532
|
+
/** The headers for the MCP server updates */
|
|
533
|
+
headers: Record<string, string>;
|
|
534
|
+
/** Does MCP server require approval */
|
|
535
|
+
requireApproval?: MCPRequiredApproval;
|
|
536
|
+
}
|
|
537
|
+
export declare function mcpToolResourceSerializer(item: MCPToolResource): any;
|
|
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;
|
|
376
559
|
/**
|
|
377
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.
|
|
378
561
|
* If `text` the model can return text or any value needed.
|
|
@@ -640,7 +823,7 @@ export interface AgentsNamedToolChoice {
|
|
|
640
823
|
export declare function agentsNamedToolChoiceSerializer(item: AgentsNamedToolChoice): any;
|
|
641
824
|
export declare function agentsNamedToolChoiceDeserializer(item: any): AgentsNamedToolChoice;
|
|
642
825
|
/** Available tool types for agents named tools. */
|
|
643
|
-
export type AgentsNamedToolChoiceType = "function" | "code_interpreter" | "file_search" | "bing_grounding" | "azure_ai_search" | "connected_agent";
|
|
826
|
+
export type AgentsNamedToolChoiceType = "function" | "code_interpreter" | "file_search" | "bing_grounding" | "fabric_dataagent" | "sharepoint_grounding" | "azure_ai_search" | "bing_custom_search" | "connected_agent" | "deep_research" | "mcp";
|
|
644
827
|
/** The function name that will be used, if using the `function` tool */
|
|
645
828
|
export interface FunctionName {
|
|
646
829
|
/** The name of the function to call */
|
|
@@ -719,12 +902,12 @@ export type RunStatus = "queued" | "in_progress" | "requires_action" | "cancelli
|
|
|
719
902
|
/** An abstract representation of a required action for an agent thread run to continue. */
|
|
720
903
|
export interface RequiredAction {
|
|
721
904
|
/** The object type. */
|
|
722
|
-
/** The discriminator possible values: submit_tool_outputs */
|
|
905
|
+
/** The discriminator possible values: submit_tool_outputs, submit_tool_approval */
|
|
723
906
|
type: string;
|
|
724
907
|
}
|
|
725
908
|
export declare function requiredActionDeserializer(item: any): RequiredAction;
|
|
726
909
|
/** Alias for RequiredActionUnion */
|
|
727
|
-
export type RequiredActionUnion = SubmitToolOutputsAction | RequiredAction;
|
|
910
|
+
export type RequiredActionUnion = SubmitToolOutputsAction | SubmitToolApprovalAction | RequiredAction;
|
|
728
911
|
export declare function requiredActionUnionDeserializer(item: any): RequiredActionUnion;
|
|
729
912
|
/** The details for required tool calls that must be submitted for an agent thread run to continue. */
|
|
730
913
|
export interface SubmitToolOutputsAction extends RequiredAction {
|
|
@@ -744,14 +927,14 @@ export declare function requiredToolCallUnionArrayDeserializer(result: Array<Req
|
|
|
744
927
|
/** An abstract representation of a tool invocation needed by the model to continue a run. */
|
|
745
928
|
export interface RequiredToolCall {
|
|
746
929
|
/** The object type for the required tool call. */
|
|
747
|
-
/** The discriminator possible values: function */
|
|
930
|
+
/** The discriminator possible values: function, mcp */
|
|
748
931
|
type: string;
|
|
749
932
|
/** The ID of the tool call. This ID must be referenced when submitting tool outputs. */
|
|
750
933
|
id: string;
|
|
751
934
|
}
|
|
752
935
|
export declare function requiredToolCallDeserializer(item: any): RequiredToolCall;
|
|
753
936
|
/** Alias for RequiredToolCallUnion */
|
|
754
|
-
export type RequiredToolCallUnion = RequiredFunctionToolCall | RequiredToolCall;
|
|
937
|
+
export type RequiredToolCallUnion = RequiredFunctionToolCall | RequiredMcpToolCall | RequiredToolCall;
|
|
755
938
|
export declare function requiredToolCallUnionDeserializer(item: any): RequiredToolCallUnion;
|
|
756
939
|
/** A representation of a requested call to a function tool, needed by the model to continue evaluation of a run. */
|
|
757
940
|
export interface RequiredFunctionToolCall extends RequiredToolCall {
|
|
@@ -769,6 +952,32 @@ export interface RequiredFunctionToolCallDetails {
|
|
|
769
952
|
arguments: string;
|
|
770
953
|
}
|
|
771
954
|
export declare function requiredFunctionToolCallDetailsDeserializer(item: any): RequiredFunctionToolCallDetails;
|
|
955
|
+
/** A representation of a requested call to a MCP tool, needed by the model to continue evaluation of a run. */
|
|
956
|
+
export interface RequiredMcpToolCall extends RequiredToolCall {
|
|
957
|
+
/** The object type of the required tool call. Always 'mcp' for MCP tools. */
|
|
958
|
+
type: "mcp";
|
|
959
|
+
/** The arguments to use when invoking the mcp tool, as provided by the model. Arguments are presented as a JSON document that should be validated and parsed for evaluation. */
|
|
960
|
+
arguments: string;
|
|
961
|
+
/** The name of the function used on the MCP server. */
|
|
962
|
+
name: string;
|
|
963
|
+
/** The label of the MCP server. */
|
|
964
|
+
serverLabel: string;
|
|
965
|
+
}
|
|
966
|
+
export declare function requiredMcpToolCallDeserializer(item: any): RequiredMcpToolCall;
|
|
967
|
+
/** The details for required tool call approval that must be submitted for an agent thread run to continue. */
|
|
968
|
+
export interface SubmitToolApprovalAction extends RequiredAction {
|
|
969
|
+
/** The object type, which is always 'submit_tool_approval'. */
|
|
970
|
+
type: "submit_tool_approval";
|
|
971
|
+
/** The details describing tools that should be approved to continue run. */
|
|
972
|
+
submitToolApproval: SubmitToolApprovalDetails;
|
|
973
|
+
}
|
|
974
|
+
export declare function submitToolApprovalActionDeserializer(item: any): SubmitToolApprovalAction;
|
|
975
|
+
/** The details describing tools that should be approved. */
|
|
976
|
+
export interface SubmitToolApprovalDetails {
|
|
977
|
+
/** The list of tool calls that must be approved for the agent thread run to continue. */
|
|
978
|
+
toolCalls: RequiredToolCallUnion[];
|
|
979
|
+
}
|
|
980
|
+
export declare function submitToolApprovalDetailsDeserializer(item: any): SubmitToolApprovalDetails;
|
|
772
981
|
/** The details of an error as encountered by an agent thread run. */
|
|
773
982
|
export interface RunError {
|
|
774
983
|
/** The status for the error. */
|
|
@@ -1002,6 +1211,16 @@ export interface _AgentsPagedResultThreadMessage {
|
|
|
1002
1211
|
}
|
|
1003
1212
|
export declare function _agentsPagedResultThreadMessageDeserializer(item: any): _AgentsPagedResultThreadMessage;
|
|
1004
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;
|
|
1005
1224
|
/** The response data for a requested list of items. */
|
|
1006
1225
|
export interface _AgentsPagedResultThreadRun {
|
|
1007
1226
|
/** The requested list of items. */
|
|
@@ -1021,7 +1240,18 @@ export interface ToolOutput {
|
|
|
1021
1240
|
output?: string;
|
|
1022
1241
|
}
|
|
1023
1242
|
export declare function toolOutputSerializer(item: ToolOutput): any;
|
|
1243
|
+
/** The data provided during a tool outputs submission to resolve pending tool calls and allow the model to continue. */
|
|
1244
|
+
export interface ToolApproval {
|
|
1245
|
+
/** The ID of the tool call being resolved, as provided in the tool calls of a required action from a run. */
|
|
1246
|
+
toolCallId: string;
|
|
1247
|
+
/** The approval boolean value to be submitted. */
|
|
1248
|
+
approve: boolean;
|
|
1249
|
+
/** Headers to be attached to the approval. */
|
|
1250
|
+
headers?: Record<string, string>;
|
|
1251
|
+
}
|
|
1252
|
+
export declare function toolApprovalSerializer(item: ToolApproval): any;
|
|
1024
1253
|
export declare function toolOutputArraySerializer(result: Array<ToolOutput>): any[];
|
|
1254
|
+
export declare function toolApprovalArraySerializer(result: Array<ToolApproval>): any[];
|
|
1025
1255
|
/** Detailed information about a single step of an agent thread run. */
|
|
1026
1256
|
export interface RunStep {
|
|
1027
1257
|
/** The identifier, which can be referenced in API endpoints. */
|
|
@@ -1059,18 +1289,18 @@ export interface RunStep {
|
|
|
1059
1289
|
}
|
|
1060
1290
|
export declare function runStepDeserializer(item: any): RunStep;
|
|
1061
1291
|
/** The possible types of run steps. */
|
|
1062
|
-
export type RunStepType = "message_creation" | "tool_calls";
|
|
1292
|
+
export type RunStepType = "message_creation" | "tool_calls" | "activities";
|
|
1063
1293
|
/** Possible values for the status of a run step. */
|
|
1064
1294
|
export type RunStepStatus = "in_progress" | "cancelled" | "failed" | "completed" | "expired";
|
|
1065
1295
|
/** An abstract representation of the details for a run step. */
|
|
1066
1296
|
export interface RunStepDetails {
|
|
1067
1297
|
/** The object type. */
|
|
1068
|
-
/** The discriminator possible values: message_creation, tool_calls */
|
|
1298
|
+
/** The discriminator possible values: message_creation, tool_calls, activities */
|
|
1069
1299
|
type: RunStepType;
|
|
1070
1300
|
}
|
|
1071
1301
|
export declare function runStepDetailsDeserializer(item: any): RunStepDetails;
|
|
1072
1302
|
/** Alias for RunStepDetailsUnion */
|
|
1073
|
-
export type RunStepDetailsUnion = RunStepMessageCreationDetails | RunStepToolCallDetails | RunStepDetails;
|
|
1303
|
+
export type RunStepDetailsUnion = RunStepMessageCreationDetails | RunStepToolCallDetails | RunStepActivityDetails | RunStepDetails;
|
|
1074
1304
|
export declare function runStepDetailsUnionDeserializer(item: any): RunStepDetailsUnion;
|
|
1075
1305
|
/** The detailed information associated with a message creation run step. */
|
|
1076
1306
|
export interface RunStepMessageCreationDetails extends RunStepDetails {
|
|
@@ -1098,14 +1328,14 @@ export declare function runStepToolCallUnionArrayDeserializer(result: Array<RunS
|
|
|
1098
1328
|
/** An abstract representation of a detailed tool call as recorded within a run step for an existing run. */
|
|
1099
1329
|
export interface RunStepToolCall {
|
|
1100
1330
|
/** The object type. */
|
|
1101
|
-
/** The discriminator possible values: code_interpreter, file_search, bing_grounding, azure_ai_search, function, openapi */
|
|
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 */
|
|
1102
1332
|
type: string;
|
|
1103
1333
|
/** The ID of the tool call. This ID must be referenced when you submit tool outputs. */
|
|
1104
1334
|
id: string;
|
|
1105
1335
|
}
|
|
1106
1336
|
export declare function runStepToolCallDeserializer(item: any): RunStepToolCall;
|
|
1107
1337
|
/** Alias for RunStepToolCallUnion */
|
|
1108
|
-
export type RunStepToolCallUnion = RunStepCodeInterpreterToolCall | RunStepFileSearchToolCall | RunStepBingGroundingToolCall | RunStepAzureAISearchToolCall | RunStepFunctionToolCall | RunStepOpenAPIToolCall | RunStepToolCall;
|
|
1338
|
+
export type RunStepToolCallUnion = RunStepCodeInterpreterToolCall | RunStepFileSearchToolCall | RunStepBingGroundingToolCall | RunStepAzureAISearchToolCall | RunStepBrowserAutomationToolCall | RunStepMcpToolCall | RunStepSharepointToolCall | RunStepMicrosoftFabricToolCall | RunStepBingCustomSearchToolCall | RunStepAzureFunctionToolCall | RunStepFunctionToolCall | RunStepOpenAPIToolCall | RunStepDeepResearchToolCall | RunStepConnectedAgentToolCall | RunStepToolCall;
|
|
1109
1339
|
export declare function runStepToolCallUnionDeserializer(item: any): RunStepToolCallUnion;
|
|
1110
1340
|
/**
|
|
1111
1341
|
* A record of a call to a code interpreter tool, issued by the model in evaluation of a defined tool, that
|
|
@@ -1209,7 +1439,7 @@ export declare function fileSearchToolCallContentDeserializer(item: any): FileSe
|
|
|
1209
1439
|
export interface RunStepBingGroundingToolCall extends RunStepToolCall {
|
|
1210
1440
|
/** The object type, which is always 'bing_grounding'. */
|
|
1211
1441
|
type: "bing_grounding";
|
|
1212
|
-
/**
|
|
1442
|
+
/** The dictionary with request and response from Bing Grounding search tool. */
|
|
1213
1443
|
bingGrounding: Record<string, string>;
|
|
1214
1444
|
}
|
|
1215
1445
|
export declare function runStepBingGroundingToolCallDeserializer(item: any): RunStepBingGroundingToolCall;
|
|
@@ -1224,6 +1454,106 @@ export interface RunStepAzureAISearchToolCall extends RunStepToolCall {
|
|
|
1224
1454
|
azureAISearch: Record<string, string>;
|
|
1225
1455
|
}
|
|
1226
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;
|
|
1486
|
+
/**
|
|
1487
|
+
* A record of a call to a MCP tool, issued by the model in evaluation of a defined tool, that represents
|
|
1488
|
+
* executed MCP actions.
|
|
1489
|
+
*/
|
|
1490
|
+
export interface RunStepMcpToolCall extends RunStepToolCall {
|
|
1491
|
+
/** The object type, which is always 'mcp'. */
|
|
1492
|
+
type: "mcp";
|
|
1493
|
+
/** Arguments to the MCP tool call, as provided by the model. Arguments are presented as a JSON document that should be validated and parsed for evaluation. */
|
|
1494
|
+
arguments: string;
|
|
1495
|
+
/** Name of the function used on the MCP server. */
|
|
1496
|
+
name: string;
|
|
1497
|
+
/** Output of the MCP tool call. */
|
|
1498
|
+
output: string;
|
|
1499
|
+
/** The label for the MCP server */
|
|
1500
|
+
serverLabel?: string;
|
|
1501
|
+
}
|
|
1502
|
+
export declare function runStepMcpToolCallDeserializer(item: any): RunStepMcpToolCall;
|
|
1503
|
+
/**
|
|
1504
|
+
* A record of a call to a SharePoint tool, issued by the model in evaluation of a defined tool, that represents
|
|
1505
|
+
* executed SharePoint actions.
|
|
1506
|
+
*/
|
|
1507
|
+
export interface RunStepSharepointToolCall extends RunStepToolCall {
|
|
1508
|
+
/** The object type, which is always 'sharepoint_grounding'. */
|
|
1509
|
+
type: "sharepoint_grounding";
|
|
1510
|
+
/** SharePoint tool input and output. */
|
|
1511
|
+
sharePoint: Record<string, string>;
|
|
1512
|
+
}
|
|
1513
|
+
export declare function runStepSharepointToolCallDeserializer(item: any): RunStepSharepointToolCall;
|
|
1514
|
+
/**
|
|
1515
|
+
* A record of a call to a Microsoft Fabric tool, issued by the model in evaluation of a defined tool, that represents
|
|
1516
|
+
* executed Microsoft Fabric operations.
|
|
1517
|
+
*/
|
|
1518
|
+
export interface RunStepMicrosoftFabricToolCall extends RunStepToolCall {
|
|
1519
|
+
/** The object type, which is always 'fabric_dataagent'. */
|
|
1520
|
+
type: "fabric_dataagent";
|
|
1521
|
+
/** Fabric input and output. */
|
|
1522
|
+
microsoftFabric: Record<string, string>;
|
|
1523
|
+
}
|
|
1524
|
+
export declare function runStepMicrosoftFabricToolCallDeserializer(item: any): RunStepMicrosoftFabricToolCall;
|
|
1525
|
+
/**
|
|
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.
|
|
1528
|
+
*/
|
|
1529
|
+
export interface RunStepBingCustomSearchToolCall extends RunStepToolCall {
|
|
1530
|
+
/** The object type, which is always 'bing_custom_search'. */
|
|
1531
|
+
type: "bing_custom_search";
|
|
1532
|
+
/** The dictionary with request and response from Bing Custom Search tool. */
|
|
1533
|
+
bingCustomSearch: Record<string, string>;
|
|
1534
|
+
}
|
|
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;
|
|
1227
1557
|
/**
|
|
1228
1558
|
* A record of a call to a function tool, issued by the model in evaluation of a defined tool, that represents the inputs
|
|
1229
1559
|
* and output consumed and emitted by the specified function.
|
|
@@ -1254,6 +1584,100 @@ export interface RunStepOpenAPIToolCall extends RunStepToolCall {
|
|
|
1254
1584
|
openAPI: Record<string, string>;
|
|
1255
1585
|
}
|
|
1256
1586
|
export declare function runStepOpenAPIToolCallDeserializer(item: any): RunStepOpenAPIToolCall;
|
|
1587
|
+
/**
|
|
1588
|
+
* A record of a call to a Deep Research tool, issued by the model in evaluation of a defined tool, that represents
|
|
1589
|
+
* executed deep research operations.
|
|
1590
|
+
*/
|
|
1591
|
+
export interface RunStepDeepResearchToolCall extends RunStepToolCall {
|
|
1592
|
+
/** The object type, which is always 'deep_research'. */
|
|
1593
|
+
type: "deep_research";
|
|
1594
|
+
/** The detailed information about the automated browser tasks performed by the model. */
|
|
1595
|
+
deepResearch: RunStepDeepResearchToolCallDetails;
|
|
1596
|
+
}
|
|
1597
|
+
export declare function runStepDeepResearchToolCallDeserializer(item: any): RunStepDeepResearchToolCall;
|
|
1598
|
+
/** The detailed information about the deep research tasks performed by the model. */
|
|
1599
|
+
export interface RunStepDeepResearchToolCallDetails {
|
|
1600
|
+
/** The input provided by the model to the deep research tool. */
|
|
1601
|
+
input: string;
|
|
1602
|
+
/** The final output for the deep research tool. */
|
|
1603
|
+
output?: string;
|
|
1604
|
+
}
|
|
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;
|
|
1257
1681
|
/** The error information associated with a failed run step. */
|
|
1258
1682
|
export interface RunStepError {
|
|
1259
1683
|
/** The error code for this error. */
|
|
@@ -1709,12 +2133,12 @@ export declare function runStepDeltaDeserializer(item: any): RunStepDelta;
|
|
|
1709
2133
|
/** Represents a single run step detail item in a streaming run step's delta payload. */
|
|
1710
2134
|
export interface RunStepDeltaDetail {
|
|
1711
2135
|
/** The object type for the run step detail object. */
|
|
1712
|
-
/** The discriminator possible values: message_creation, tool_calls */
|
|
2136
|
+
/** The discriminator possible values: message_creation, tool_calls, mcp, openapi */
|
|
1713
2137
|
type: string;
|
|
1714
2138
|
}
|
|
1715
2139
|
export declare function runStepDeltaDetailDeserializer(item: any): RunStepDeltaDetail;
|
|
1716
2140
|
/** Alias for RunStepDeltaDetailUnion */
|
|
1717
|
-
export type RunStepDeltaDetailUnion = RunStepDeltaMessageCreation | RunStepDeltaToolCallObject | RunStepDeltaDetail;
|
|
2141
|
+
export type RunStepDeltaDetailUnion = RunStepDeltaMessageCreation | RunStepDeltaToolCallObject | RunStepDeltaMCPObject | RunStepDeltaOpenAPIObject | RunStepDeltaDetail;
|
|
1718
2142
|
export declare function runStepDeltaDetailUnionDeserializer(item: any): RunStepDeltaDetailUnion;
|
|
1719
2143
|
/** Represents a message creation within a streaming run step delta. */
|
|
1720
2144
|
export interface RunStepDeltaMessageCreation extends RunStepDeltaDetail {
|
|
@@ -1746,13 +2170,39 @@ export interface RunStepDeltaToolCall {
|
|
|
1746
2170
|
/** The ID of the tool call, used when submitting outputs to the run. */
|
|
1747
2171
|
id: string;
|
|
1748
2172
|
/** The type of the tool call detail item in a streaming run step's details. */
|
|
1749
|
-
/** 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 */
|
|
1750
2174
|
type: string;
|
|
1751
2175
|
}
|
|
1752
2176
|
export declare function runStepDeltaToolCallDeserializer(item: any): RunStepDeltaToolCall;
|
|
1753
2177
|
/** Alias for RunStepDeltaToolCallUnion */
|
|
1754
|
-
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;
|
|
1755
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;
|
|
1756
2206
|
/** Represents a function tool call within a streaming run step's tool call details. */
|
|
1757
2207
|
export interface RunStepDeltaFunctionToolCall extends RunStepDeltaToolCall {
|
|
1758
2208
|
/** The object type, which is always "function." */
|
|
@@ -1834,6 +2284,80 @@ export interface RunStepDeltaCodeInterpreterImageOutputObject {
|
|
|
1834
2284
|
fileId?: string;
|
|
1835
2285
|
}
|
|
1836
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[];
|
|
1837
2361
|
/** Alias for AgentStreamEvent */
|
|
1838
2362
|
export type AgentStreamEvent = string | ThreadStreamEvent | RunStreamEvent | RunStepStreamEvent | MessageStreamEvent | ErrorEvent | DoneEvent;
|
|
1839
2363
|
export declare function agentStreamEventDeserializer(item: any): AgentStreamEvent;
|
|
@@ -1916,6 +2440,8 @@ export declare enum KnownVersions {
|
|
|
1916
2440
|
/** Azure AI API version 2025-05-01. */
|
|
1917
2441
|
V20250501 = "2025-05-01",
|
|
1918
2442
|
/** Azure AI API version v1. */
|
|
1919
|
-
V1 = "v1"
|
|
2443
|
+
V1 = "v1",
|
|
2444
|
+
/** Azure AI API version 2025-05-15-preview. */
|
|
2445
|
+
V20250515Preview = "2025-05-15-preview"
|
|
1920
2446
|
}
|
|
1921
2447
|
//# sourceMappingURL=models.d.ts.map
|