ExtensionsOpenAIModelFactory Class

Definition

A factory class for creating instances of the models for mocking.

public static class ExtensionsOpenAIModelFactory
type ExtensionsOpenAIModelFactory = class
Public Class ExtensionsOpenAIModelFactory
Inheritance
ExtensionsOpenAIModelFactory

Methods

Name Description
A2AToolCall(String, AgentReference, String, String, String, String, ToolCallStatus)

An A2A (Agent-to-Agent) tool call.

A2AToolCallOutput(String, AgentReference, String, String, String, BinaryData, ToolCallStatus)

The output of an A2A (Agent-to-Agent) tool call.

AgentReference(String, String)

The AgentReference.

AgentResponseItem(String, String, AgentReference, String)

The AgentResponseItem. Please note this is the abstract base class. The derived classes available for instantiation are: AgentStructuredOutputsResponseItem, AgentWorkflowPreviewActionResponseItem, OAuthConsentRequestResponseItem, BingGroundingToolCall, BingGroundingToolCallOutput, SharepointGroundingToolCall, SharepointGroundingToolCallOutput, AzureAISearchToolCall, AzureAISearchToolCallOutput, BingCustomSearchToolCall, BingCustomSearchToolCallOutput, OpenApiToolCall, OpenApiToolCallOutput, BrowserAutomationToolCall, BrowserAutomationToolCallOutput, FabricDataAgentToolCall, FabricDataAgentToolCallOutput, AzureFunctionToolCall, AzureFunctionToolCallOutput, A2AToolCall, A2AToolCallOutput, MemorySearchToolCall, MemoryCommandToolCall, MemoryCommandToolCallOutput, OutputItemFunctionToolCallOutput, OutputItemComputerToolCallOutput, OutputItemToolSearchCall, OutputItemToolSearchOutput, OutputItemLocalShellToolCallOutput, OutputItemMcpApprovalResponseResource, and OutputItemCustomToolCallOutputResource.

AgentStructuredOutputsResponseItem(String, AgentReference, String, BinaryData)

The AgentStructuredOutputsResponseItem.

AgentWorkflowPreviewActionResponseItem(String, AgentReference, String, String, String, String, String, Nullable<AgentWorkflowPreviewActionStatus>)

The AgentWorkflowPreviewActionResponseItem.

AzureAISearchToolCall(String, AgentReference, String, String, String, ToolCallStatus)

An Azure AI Search tool call.

AzureAISearchToolCallOutput(String, AgentReference, String, String, BinaryData, ToolCallStatus)

The output of an Azure AI Search tool call.

AzureFunctionToolCall(String, AgentReference, String, String, String, String, ToolCallStatus)

An Azure Function tool call.

AzureFunctionToolCallOutput(String, AgentReference, String, String, String, BinaryData, ToolCallStatus)

The output of an Azure Function tool call.

BingCustomSearchToolCall(String, AgentReference, String, String, String, ToolCallStatus)

A Bing custom search tool call.

BingCustomSearchToolCallOutput(String, AgentReference, String, String, BinaryData, ToolCallStatus)

The output of a Bing custom search tool call.

BingGroundingToolCall(String, AgentReference, String, String, String, ToolCallStatus)

A Bing grounding tool call.

BingGroundingToolCallOutput(String, AgentReference, String, String, BinaryData, ToolCallStatus)

The output of a Bing grounding tool call.

BrowserAutomationToolCall(String, AgentReference, String, String, String, ToolCallStatus)

A browser automation tool call.

BrowserAutomationToolCallOutput(String, AgentReference, String, String, BinaryData, ToolCallStatus)

The output of a browser automation tool call.

ChatSummaryMemoryItem(String, DateTimeOffset, String, String)

A memory item containing a summary extracted from conversations.

ComputerCallSafetyCheckParam(String, String, String)

A pending safety check for the computer call.

ComputerScreenshotImage(Uri, String)

A computer screenshot image used with the computer use tool.

ContainerSkill(String)

The ContainerSkill. Please note this is the abstract base class. The derived classes available for instantiation are: ResponsesSkillReferenceParam and ResponsesInlineSkillParam.

CustomGrammarFormatParam(ResponsesGrammarSyntax, String)

Grammar format.

FabricDataAgentToolCall(String, AgentReference, String, String, String, ToolCallStatus)

A Fabric data agent tool call.

FabricDataAgentToolCallOutput(String, AgentReference, String, String, BinaryData, ToolCallStatus)

The output of a Fabric data agent tool call.

LocalSkillParam(String, String, String)

The LocalSkillParam.

MemoryCommandToolCall(String, AgentReference, String, String, String, ToolCallStatus)

A memory command tool call.

MemoryCommandToolCallOutput(String, AgentReference, String, String, ToolCallStatus)

The output of a memory command tool call.

MemoryOutputItem(String, DateTimeOffset, String, String, String)

A single memory item stored in the memory store, containing content and metadata. Please note this is the abstract base class. The derived classes available for instantiation are: UserProfileMemoryItem, ChatSummaryMemoryItem, and ProceduralMemoryItem.

MemorySearchToolCall(String, AgentReference, String, ToolCallStatus, IEnumerable<MemoryOutputItem>)

A memory search tool call.

MemorySearchToolCallResponseItem(String, AgentReference, String, MemorySearchToolCallStatus, IEnumerable<MemoryToolSearchItem>)

The MemorySearchToolCallResponseItem.

MemoryToolSearchItem(MemoryOutputItem)

A retrieved memory item from memory search.

OAuthConsentRequestResponseItem(String, AgentReference, String, String, String)

Request from the service for the user to perform OAuth consent.

OpenApiToolCall(String, AgentReference, String, String, String, String, ToolCallStatus)

An OpenAPI tool call.

OpenApiToolCallOutput(String, AgentReference, String, String, String, BinaryData, ToolCallStatus)

The output of an OpenAPI tool call.

OutputItemComputerToolCallOutput(String, AgentReference, String, String, IEnumerable<ComputerCallSafetyCheckParam>, ComputerScreenshotImage, Nullable<ItemFieldComputerToolCallOutputStatus>)

Computer tool call output.

OutputItemCustomToolCallOutputResource(String, AgentReference, String, String, BinaryData, ResponsesFunctionCallOutputStatus, String)

ResponseCustomToolCallOutputItem.

OutputItemFunctionToolCallOutput(String, AgentReference, String, String, BinaryData, Nullable<ItemFieldFunctionToolCallOutputStatus>)

Function tool call output.

OutputItemLocalShellToolCallOutput(String, AgentReference, String, String, Nullable<ItemLocalShellToolCallOutputStatus>)

Local shell call output.

OutputItemMcpApprovalResponseResource(String, AgentReference, String, String, Boolean, String)

MCP approval response.

OutputItemToolSearchCall(String, AgentReference, String, String, ResponsesToolSearchExecutionType, BinaryData, ResponsesFunctionCallStatus, String)

The OutputItemToolSearchCall.

OutputItemToolSearchOutput(String, AgentReference, String, String, ResponsesToolSearchExecutionType, IEnumerable<ResponsesTool>, ResponsesFunctionCallOutputStatus, String)

The OutputItemToolSearchOutput.

ProceduralMemoryItem(String, DateTimeOffset, String, String)

A memory item containing a procedure extracted from conversations.

ProjectConversation(String, IDictionary<String,String>, DateTimeOffset)

The ProjectConversation.

ResponsesA2APreviewTool(String, String, IDictionary<String,ToolConfig>, Uri, String, String)

An agent implementing the A2A protocol.

ResponsesAISearchIndexResource(String, String, Nullable<ResponsesAzureAISearchQueryType>, Nullable<Int32>, String, String)

A AI Search Index resource.

ResponsesAutoCodeInterpreterToolParam(IEnumerable<String>, Nullable<ResponsesContainerMemoryLimit>, ResponsesContainerNetworkPolicyParam)

Automatic Code Interpreter Tool Parameters.

ResponsesAzureAISearchTool(String, String, IDictionary<String,ToolConfig>, ResponsesAzureAISearchToolResource)

The input definition information for an Azure AI search tool as used to configure an agent.

ResponsesAzureAISearchToolResource(IEnumerable<ResponsesAISearchIndexResource>)

A set of index resources used by the azure_ai_search tool.

ResponsesAzureFunctionBinding(ResponsesAzureFunctionStorageQueue)

The structure for keeping storage queue name and URI.

ResponsesAzureFunctionDefinition(ResponsesAzureFunctionDefinitionFunction, ResponsesAzureFunctionBinding, ResponsesAzureFunctionBinding)

The definition of Azure function.

ResponsesAzureFunctionDefinitionFunction(String, String, IDictionary<String,BinaryData>)

The ResponsesAzureFunctionDefinitionFunction.

ResponsesAzureFunctionStorageQueue(String, String)

The structure for keeping storage queue name and URI.

ResponsesAzureFunctionTool(ResponsesAzureFunctionDefinition, IDictionary<String,ToolConfig>)

The input definition information for an Azure Function Tool, as used to configure an Agent.

ResponsesBingCustomSearchConfiguration(String, String, String, String, Nullable<Int64>, String)

A bing custom search configuration.

ResponsesBingCustomSearchPreviewTool(String, String, IDictionary<String,ToolConfig>, ResponsesBingCustomSearchToolParameters)

The input definition information for a Bing custom search tool as used to configure an agent.

ResponsesBingCustomSearchToolParameters(IEnumerable<ResponsesBingCustomSearchConfiguration>)

The bing custom search tool parameters.

ResponsesBingGroundingSearchConfiguration(String, String, String, Nullable<Int64>, String)

Search configuration for Bing Grounding.

ResponsesBingGroundingSearchToolParameters(IEnumerable<ResponsesBingGroundingSearchConfiguration>)

The bing grounding search tool parameters.

ResponsesBingGroundingTool(String, String, IDictionary<String,ToolConfig>, ResponsesBingGroundingSearchToolParameters)

The input definition information for a bing grounding search tool as used to configure an agent.

ResponsesBrowserAutomationPreviewTool(String, String, IDictionary<String,ToolConfig>, ResponsesBrowserAutomationToolParameters)

The input definition information for a Browser Automation Tool, as used to configure an Agent.

ResponsesBrowserAutomationToolConnectionParameters(String)

Definition of input parameters for the connection used by the Browser Automation Tool.

ResponsesBrowserAutomationToolParameters(ResponsesBrowserAutomationToolConnectionParameters)

Definition of input parameters for the Browser Automation Tool.

ResponsesCaptureStructuredOutputsTool(String, String, IDictionary<String,ToolConfig>, ResponsesStructuredOutputDefinition)

A tool for capturing structured outputs.

ResponsesComputerTool()

Computer.

ResponsesContainerAutoParam(IEnumerable<String>, Nullable<ResponsesContainerMemoryLimit>, IEnumerable<ContainerSkill>, ResponsesContainerNetworkPolicyParam)

The ResponsesContainerAutoParam.

ResponsesContainerNetworkPolicyAllowlistParam(IEnumerable<String>, IEnumerable<ResponsesContainerNetworkPolicyDomainSecretParam>)

The ResponsesContainerNetworkPolicyAllowlistParam.

ResponsesContainerNetworkPolicyDisabledParam()

The ResponsesContainerNetworkPolicyDisabledParam.

ResponsesContainerNetworkPolicyDomainSecretParam(String, String, String)

The ResponsesContainerNetworkPolicyDomainSecretParam.

ResponsesContainerNetworkPolicyParam(String)

Network access policy for the container. Please note this is the abstract base class. The derived classes available for instantiation are: ResponsesContainerNetworkPolicyDisabledParam and ResponsesContainerNetworkPolicyAllowlistParam.

ResponsesCustomTextFormatParam()

Text format.

ResponsesCustomToolParam(String, String, ResponsesCustomToolParamFormat, Nullable<Boolean>)

Custom tool.

ResponsesCustomToolParamFormat(String)

The input format for the custom tool. Default is unconstrained text. Please note this is the abstract base class. The derived classes available for instantiation are: ResponsesCustomTextFormatParam and CustomGrammarFormatParam.

ResponsesEmptyModelParam()

The ResponsesEmptyModelParam.

ResponsesFabricDataAgentToolOptions(IEnumerable<ResponsesToolProjectConnection>)

The fabric data agent tool parameters.

ResponsesFabricIQPreviewTool(String, String, Uri, BinaryData, String, String, IDictionary<String,ToolConfig>)

A FabricIQ server-side tool.

ResponsesFunctionShellToolParam(ResponsesFunctionShellToolParamEnvironment, String, String, IDictionary<String,ToolConfig>)

Shell tool.

ResponsesFunctionShellToolParamEnvironment(String)

The ResponsesFunctionShellToolParamEnvironment. Please note this is the abstract base class. The derived classes available for instantiation are: ResponsesFunctionShellToolParamEnvironmentLocalEnvironmentParam, ResponsesFunctionShellToolParamEnvironmentContainerReferenceParam, and ResponsesContainerAutoParam.

ResponsesFunctionShellToolParamEnvironmentContainerReferenceParam(String)

The ResponsesFunctionShellToolParamEnvironmentContainerReferenceParam.

ResponsesFunctionShellToolParamEnvironmentLocalEnvironmentParam(IEnumerable<LocalSkillParam>)

The ResponsesFunctionShellToolParamEnvironmentLocalEnvironmentParam.

ResponsesFunctionToolParam(String, String, ResponsesEmptyModelParam, Nullable<Boolean>, Nullable<Boolean>)

The ResponsesFunctionToolParam.

ResponsesInlineSkillParam(String, String, ResponsesInlineSkillSourceParam)

The ResponsesInlineSkillParam.

ResponsesInlineSkillSourceParam(String)

Inline skill payload.

ResponsesLocalShellToolParam(String, String, IDictionary<String,ToolConfig>)

Local shell tool.

ResponsesMCPToolFilter(IEnumerable<String>, Nullable<Boolean>)

MCP tool filter.

ResponsesMCPToolRequireApproval(ResponsesMCPToolFilter, ResponsesMCPToolFilter)

The ResponsesMCPToolRequireApproval.

ResponsesMemorySearchOptions(Nullable<Int32>)

Memory search options.

ResponsesMemorySearchPreviewTool(String, String, IDictionary<String,ToolConfig>, String, String, ResponsesMemorySearchOptions, Nullable<Int32>)

A tool for integrating memories into the agent.

ResponsesMicrosoftFabricPreviewTool(String, String, IDictionary<String,ToolConfig>, ResponsesFabricDataAgentToolOptions)

The input definition information for a Microsoft Fabric tool as used to configure an agent.

ResponsesNamespaceToolParam(String, String, IEnumerable<BinaryData>)

Namespace.

ResponsesOpenApiAnonymousAuthDetails()

Security details for OpenApi anonymous authentication.

ResponsesOpenApiAuthDetails(String)

authentication details for OpenApiFunctionDefinition Please note this is the abstract base class. The derived classes available for instantiation are: ResponsesOpenApiAnonymousAuthDetails, ResponsesOpenApiProjectConnectionAuthDetails, and ResponsesOpenApiManagedAuthDetails.

ResponsesOpenApiFunctionDefinition(String, String, IDictionary<String, BinaryData>, ResponsesOpenApiAuthDetails, IEnumerable<String>, IEnumerable<ResponsesOpenApiFunctionDefinitionFunction>)

The input definition information for an openapi function.

ResponsesOpenApiFunctionDefinitionFunction(String, String, IDictionary<String,BinaryData>)

The ResponsesOpenApiFunctionDefinitionFunction.

ResponsesOpenApiManagedAuthDetails(ResponsesOpenApiManagedSecurityScheme)

Security details for OpenApi managed_identity authentication.

ResponsesOpenApiManagedSecurityScheme(String)

Security scheme for OpenApi managed_identity authentication.

ResponsesOpenApiProjectConnectionAuthDetails(ResponsesOpenApiProjectConnectionSecurityScheme)

Security details for OpenApi project connection authentication.

ResponsesOpenApiProjectConnectionSecurityScheme(String)

Security scheme for OpenApi managed_identity authentication.

ResponsesOpenApiTool(ResponsesOpenApiFunctionDefinition, IDictionary<String,ToolConfig>)

The input definition information for an OpenAPI tool as used to configure an agent.

ResponsesSharepointGroundingToolParameters(IEnumerable<ResponsesToolProjectConnection>)

The sharepoint grounding tool parameters.

ResponsesSharepointPreviewTool(String, String, IDictionary<String,ToolConfig>, ResponsesSharepointGroundingToolParameters)

The input definition information for a sharepoint tool as used to configure an agent.

ResponsesSkillReferenceParam(String, String)

The ResponsesSkillReferenceParam.

ResponsesStructuredOutputDefinition(String, String, IDictionary<String,BinaryData>, Nullable<Boolean>)

A structured output that can be produced by the agent.

ResponsesTool(String)

A tool that can be used to generate a response. Please note this is the abstract base class. The derived classes available for instantiation are: ResponsesBingGroundingTool, ResponsesMicrosoftFabricPreviewTool, ResponsesSharepointPreviewTool, ResponsesAzureAISearchTool, ResponsesOpenApiTool, ResponsesBingCustomSearchPreviewTool, ResponsesBrowserAutomationPreviewTool, ResponsesAzureFunctionTool, ResponsesCaptureStructuredOutputsTool, ResponsesA2APreviewTool, ResponsesWorkIQPreviewTool, ResponsesFabricIQPreviewTool, ResponsesMemorySearchPreviewTool, ResponsesToolboxSearchPreviewTool, ResponsesWebSearchTool, ResponsesLocalShellToolParam, ResponsesFunctionShellToolParam, ResponsesCustomToolParam, ResponsesComputerTool, ResponsesNamespaceToolParam, and ResponsesToolSearchToolParam.

ResponsesToolboxSearchPreviewTool(String, String, IDictionary<String,ToolConfig>)

A tool for searching over the agent's toolbox. When present, deferred tools are hidden from tools/list and only discoverable via search_tools queries at runtime.

ResponsesToolProjectConnection(String)

A project connection resource.

ResponsesToolSearchToolParam(Nullable<ResponsesToolSearchExecutionType>, String, ResponsesEmptyModelParam)

Tool search tool.

ResponsesWebSearchApproximateLocation(String, String, String, String)

Web search approximate location.

ResponsesWebSearchConfiguration(String, String)

A web search configuration for bing custom search.

ResponsesWebSearchTool(WebSearchToolFilters, ResponsesWebSearchApproximateLocation, Nullable<ResponsesWebSearchToolSearchContextSize>, String, String, IDictionary<String,ToolConfig>, ResponsesWebSearchConfiguration)

Web search.

ResponsesWorkIQPreviewTool(String, String, String, IDictionary<String,ToolConfig>)

A WorkIQ server-side tool.

SharepointGroundingToolCall(String, AgentReference, String, String, String, ToolCallStatus)

A SharePoint grounding tool call.

SharepointGroundingToolCallOutput(String, AgentReference, String, String, BinaryData, ToolCallStatus)

The output of a SharePoint grounding tool call.

ToolConfig(Nullable<Boolean>, String)

Per-tool configuration that controls tool visibility and search behavior.

UserProfileMemoryItem(String, DateTimeOffset, String, String)

A memory item specifically containing user profile information extracted from conversations, such as preferences, interests, and personal details.

WebSearchToolFilters(IEnumerable<String>)

The WebSearchToolFilters.

Applies to