Azure.AI.AgentServer.Responses.Models Namespace

Classes

Name Description
A2APreviewTool

An agent implementing the A2A protocol.

A2AToolCall

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

A2AToolCallOutput

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

AgentId

The AgentId.

AgentReference

The AgentReference.

AgentsPagedResultOutputItem

The response data for a requested list of items.

AgentsPagedResultResponse

The response data for a requested list of items.

AISearchIndexResource

A AI Search Index resource.

Annotation

An annotation that applies to a span of output text. Please note this is the abstract base class. The derived classes available for instantiation are: FileCitationBody, UrlCitationBody, ContainerFileCitationBody, and FilePath.

ApiErrorResponse

Error response for API failures.

ApplyPatchCreateFileOperation

Apply patch create file operation.

ApplyPatchCreateFileOperationParam

Apply patch create file operation.

ApplyPatchDeleteFileOperation

Apply patch delete file operation.

ApplyPatchDeleteFileOperationParam

Apply patch delete file operation.

ApplyPatchFileOperation

Apply patch operation Please note this is the abstract base class. The derived classes available for instantiation are: ApplyPatchCreateFileOperation, ApplyPatchDeleteFileOperation, and ApplyPatchUpdateFileOperation.

ApplyPatchOperationParam

Apply patch operation Please note this is the abstract base class. The derived classes available for instantiation are: ApplyPatchCreateFileOperationParam, ApplyPatchDeleteFileOperationParam, and ApplyPatchUpdateFileOperationParam.

ApplyPatchToolCallItemParam

Apply patch tool call.

ApplyPatchToolCallOutputItemParam

Apply patch tool call output.

ApplyPatchToolParam

Apply patch tool.

ApplyPatchUpdateFileOperation

Apply patch update file operation.

ApplyPatchUpdateFileOperationParam

Apply patch update file operation.

ApproximateLocation

The ApproximateLocation.

AutoCodeInterpreterToolParam

Automatic Code Interpreter Tool Parameters.

AzureAISearchTool

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

AzureAISearchToolCall

An Azure AI Search tool call.

AzureAISearchToolCallOutput

The output of an Azure AI Search tool call.

AzureAISearchToolResource

A set of index resources used by the azure_ai_search tool.

AzureFunctionBinding

The structure for keeping storage queue name and URI.

AzureFunctionDefinition

The definition of Azure function.

AzureFunctionDefinitionFunction

The AzureFunctionDefinitionFunction.

AzureFunctionStorageQueue

The structure for keeping storage queue name and URI.

AzureFunctionTool

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

AzureFunctionToolCall

An Azure Function tool call.

AzureFunctionToolCallOutput

The output of an Azure Function tool call.

BingCustomSearchConfiguration

A bing custom search configuration.

BingCustomSearchPreviewTool

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

BingCustomSearchToolCall

A Bing custom search tool call.

BingCustomSearchToolCallOutput

The output of a Bing custom search tool call.

BingCustomSearchToolParameters

The bing custom search tool parameters.

BingGroundingSearchConfiguration

Search configuration for Bing Grounding.

BingGroundingSearchToolParameters

The bing grounding search tool parameters.

BingGroundingTool

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

BingGroundingToolCall

A Bing grounding tool call.

BingGroundingToolCallOutput

The output of a Bing grounding tool call.

BrowserAutomationPreviewTool

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

BrowserAutomationToolCall

A browser automation tool call.

BrowserAutomationToolCallOutput

The output of a browser automation tool call.

BrowserAutomationToolConnectionParameters

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

BrowserAutomationToolParameters

Definition of input parameters for the Browser Automation Tool.

CaptureStructuredOutputsTool

A tool for capturing structured outputs.

ChatSummaryMemoryItem

A memory item containing a summary extracted from conversations.

ClickParam

Click.

CodeInterpreterOutputImage

Code interpreter output image.

CodeInterpreterOutputLogs

Code interpreter output logs.

CodeInterpreterTool

Code interpreter.

CompactionSummaryItemParam

Compaction item.

CompactResource

The compacted response object.

CompactResponseMethodPublicBody

The CompactResponseMethodPublicBody.

ComparisonFilter

Comparison Filter.

CompoundFilter

Compound Filter.

ComputerAction

The ComputerAction. Please note this is the abstract base class. The derived classes available for instantiation are: ClickParam, DoubleClickAction, DragParam, KeyPressAction, MoveParam, ScreenshotParam, ScrollParam, TypeParam, and WaitParam.

ComputerCallOutputItemParam

Computer tool call output.

ComputerCallSafetyCheckParam

A pending safety check for the computer call.

ComputerScreenshotContent

Computer screenshot.

ComputerScreenshotImage

A computer screenshot image used with the computer use tool.

ComputerTool

Computer.

ComputerUsePreviewTool

Computer use preview.

ContainerAutoParam

The ContainerAutoParam.

ContainerFileCitationBody

Container file citation.

ContainerNetworkPolicyAllowlistParam

The ContainerNetworkPolicyAllowlistParam.

ContainerNetworkPolicyDisabledParam

The ContainerNetworkPolicyDisabledParam.

ContainerNetworkPolicyDomainSecretParam

The ContainerNetworkPolicyDomainSecretParam.

ContainerNetworkPolicyParam

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

ContainerReferenceResource

Container Reference.

ContainerSkill

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

ContextManagementParam

The ContextManagementParam.

ConversationParam

Conversation object.

ConversationReference

Conversation.

CoordParam

Coordinate.

CreatedBy

The CreatedBy.

CreateResponse

The CreateResponse.

CreateResponseExtensions

Extension methods for CreateResponse.

CustomGrammarFormatParam

Grammar format.

CustomTextFormatParam

Text format.

CustomToolParam

Custom tool.

CustomToolParamFormat

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: CustomTextFormatParam and CustomGrammarFormatParam.

DeleteResponseResult

The result of a delete response operation.

DoubleClickAction

DoubleClick.

DragParam

Drag.

EmptyModelParam

The EmptyModelParam.

Error

The Error.

FabricDataAgentToolCall

A Fabric data agent tool call.

FabricDataAgentToolCallOutput

The output of a Fabric data agent tool call.

FabricDataAgentToolParameters

The fabric data agent tool parameters.

FileCitationBody

File citation.

FilePath

File path.

FileSearchTool

File search.

FileSearchToolCallResults

The FileSearchToolCallResults.

FunctionAndCustomToolCallOutput

The FunctionAndCustomToolCallOutput. Please note this is the abstract base class. The derived classes available for instantiation are: FunctionAndCustomToolCallOutputInputTextContent, FunctionAndCustomToolCallOutputInputImageContent, and FunctionAndCustomToolCallOutputInputFileContent.

FunctionAndCustomToolCallOutputInputFileContent

Input file.

FunctionAndCustomToolCallOutputInputImageContent

Input image.

FunctionAndCustomToolCallOutputInputTextContent

Input text.

FunctionCallOutputItemParam

Function tool call output.

FunctionShellAction

Shell exec action.

FunctionShellActionParam

Shell action.

FunctionShellCallEnvironment

The FunctionShellCallEnvironment. Please note this is the abstract base class. The derived classes available for instantiation are: LocalEnvironmentResource and ContainerReferenceResource.

FunctionShellCallItemParam

Shell tool call.

FunctionShellCallItemParamEnvironment

The environment to execute the shell commands in. Please note this is the abstract base class. The derived classes available for instantiation are: FunctionShellCallItemParamEnvironmentLocalEnvironmentParam and FunctionShellCallItemParamEnvironmentContainerReferenceParam.

FunctionShellCallItemParamEnvironmentContainerReferenceParam

The FunctionShellCallItemParamEnvironmentContainerReferenceParam.

FunctionShellCallItemParamEnvironmentLocalEnvironmentParam

The FunctionShellCallItemParamEnvironmentLocalEnvironmentParam.

FunctionShellCallOutputContent

Shell call output content.

FunctionShellCallOutputContentParam

Shell output content.

FunctionShellCallOutputExitOutcome

Shell call exit outcome.

FunctionShellCallOutputExitOutcomeParam

Shell call exit outcome.

FunctionShellCallOutputItemParam

Shell tool call output.

FunctionShellCallOutputOutcome

Shell call outcome Please note this is the abstract base class. The derived classes available for instantiation are: FunctionShellCallOutputTimeoutOutcome and FunctionShellCallOutputExitOutcome.

FunctionShellCallOutputOutcomeParam

Shell call outcome Please note this is the abstract base class. The derived classes available for instantiation are: FunctionShellCallOutputTimeoutOutcomeParam and FunctionShellCallOutputExitOutcomeParam.

FunctionShellCallOutputTimeoutOutcome

Shell call timeout outcome.

FunctionShellCallOutputTimeoutOutcomeParam

Shell call timeout outcome.

FunctionShellToolParam

Shell tool.

FunctionShellToolParamEnvironment

The FunctionShellToolParamEnvironment. Please note this is the abstract base class. The derived classes available for instantiation are: FunctionShellToolParamEnvironmentLocalEnvironmentParam, FunctionShellToolParamEnvironmentContainerReferenceParam, and ContainerAutoParam.

FunctionShellToolParamEnvironmentContainerReferenceParam

The FunctionShellToolParamEnvironmentContainerReferenceParam.

FunctionShellToolParamEnvironmentLocalEnvironmentParam

The FunctionShellToolParamEnvironmentLocalEnvironmentParam.

FunctionTool

Function.

FunctionToolParam

The FunctionToolParam.

HybridSearchOptions

The HybridSearchOptions.

ImageGenTool

Image generation tool.

ImageGenToolInputImageMask

The ImageGenToolInputImageMask.

InlineSkillParam

The InlineSkillParam.

InlineSkillSourceParam

Inline skill payload.

InputFileContent

Input file.

InputFileContentParam

Input file.

InputImageContent

Input image.

InputImageContentParamAutoParam

Input image.

InputTextContent

Input text.

InputTextContentParam

Input text.

Item

Content item used to generate a response. Please note this is the abstract base class. The derived classes available for instantiation are: MemorySearchToolCallItemParam, ComputerCallOutputItemParam, FunctionCallOutputItemParam, CompactionSummaryItemParam, FunctionShellCallItemParam, FunctionShellCallOutputItemParam, ApplyPatchToolCallItemParam, ApplyPatchToolCallOutputItemParam, MCPApprovalResponse, ItemReferenceParam, ItemMessage, ItemFileSearchToolCall, ItemComputerToolCall, ItemWebSearchToolCall, ItemFunctionToolCall, ItemReasoningItem, ItemImageGenToolCall, ItemCodeInterpreterToolCall, ItemLocalShellToolCall, ItemLocalShellToolCallOutput, ItemMcpListTools, ItemMcpApprovalRequest, ItemMcpToolCall, ItemCustomToolCallOutput, ItemCustomToolCall, ToolSearchCallItemParam, and ToolSearchOutputItemParam.

ItemCodeInterpreterToolCall

Code interpreter tool call.

ItemComputerToolCall

Computer tool call.

ItemCustomToolCall

Custom tool call.

ItemCustomToolCallOutput

Custom tool call output.

ItemExtensions

Extension methods for sequences of Item instances.

ItemField

An item representing a message, tool call, tool output, reasoning, or other response element. Please note this is the abstract base class. The derived classes available for instantiation are: ItemFieldMessage, ItemFieldFunctionToolCall, ItemFieldToolSearchCall, ItemFieldToolSearchOutput, ItemFieldFunctionToolCallOutput, ItemFieldFileSearchToolCall, ItemFieldWebSearchToolCall, ItemFieldImageGenToolCall, ItemFieldComputerToolCall, ItemFieldComputerToolCallOutput, ItemFieldReasoningItem, ItemFieldCompactionBody, ItemFieldCodeInterpreterToolCall, ItemFieldLocalShellToolCall, ItemFieldLocalShellToolCallOutput, ItemFieldFunctionShellCall, ItemFieldFunctionShellCallOutput, ItemFieldApplyPatchToolCall, ItemFieldApplyPatchToolCallOutput, ItemFieldMcpListTools, ItemFieldMcpApprovalRequest, ItemFieldMcpApprovalResponseResource, ItemFieldMcpToolCall, ItemFieldCustomToolCall, and ItemFieldCustomToolCallOutput.

ItemFieldApplyPatchToolCall

Apply patch tool call.

ItemFieldApplyPatchToolCallOutput

Apply patch tool call output.

ItemFieldCodeInterpreterToolCall

Code interpreter tool call.

ItemFieldCompactionBody

Compaction item.

ItemFieldComputerToolCall

Computer tool call.

ItemFieldComputerToolCallOutput

Computer tool call output.

ItemFieldCustomToolCall

Custom tool call.

ItemFieldCustomToolCallOutput

Custom tool call output.

ItemFieldFileSearchToolCall

File search tool call.

ItemFieldFunctionShellCall

Shell tool call.

ItemFieldFunctionShellCallOutput

Shell call output.

ItemFieldFunctionToolCall

Function tool call.

ItemFieldFunctionToolCallOutput

Function tool call output.

ItemFieldImageGenToolCall

Image generation call.

ItemFieldLocalShellToolCall

Local shell call.

ItemFieldLocalShellToolCallOutput

Local shell call output.

ItemFieldMcpApprovalRequest

MCP approval request.

ItemFieldMcpApprovalResponseResource

MCP approval response.

ItemFieldMcpListTools

MCP list tools.

ItemFieldMcpToolCall

MCP tool call.

ItemFieldMessage

Message.

ItemFieldReasoningItem

Reasoning.

ItemFieldToolSearchCall

The ItemFieldToolSearchCall.

ItemFieldToolSearchOutput

The ItemFieldToolSearchOutput.

ItemFieldWebSearchToolCall

Web search tool call.

ItemFileSearchToolCall

File search tool call.

ItemFunctionToolCall

Function tool call.

ItemImageGenToolCall

Image generation call.

ItemLocalShellToolCall

Local shell call.

ItemLocalShellToolCallOutput

Local shell call output.

ItemMcpApprovalRequest

MCP approval request.

ItemMcpListTools

MCP list tools.

ItemMcpToolCall

MCP tool call.

ItemMessage

Message.

ItemMessageExtensions

Extension methods for ItemMessage that provide typed access to the Content BinaryData property.

ItemReasoningItem

Reasoning.

ItemReferenceParam

Item reference.

ItemWebSearchToolCall

Web search tool call.

KeyPressAction

KeyPress.

LocalEnvironmentResource

Local Environment.

LocalShellExecAction

Local shell exec action.

LocalShellToolParam

Local shell tool.

LocalSkillParam

The LocalSkillParam.

LogProb

Log probability.

MCPApprovalResponse

MCP approval response.

MCPListToolsTool

MCP list tools tool.

MCPListToolsToolAnnotations

The MCPListToolsToolAnnotations.

MCPListToolsToolInputSchema

The MCPListToolsToolInputSchema.

MCPTool

MCP tool.

MCPToolFilter

MCP tool filter.

MCPToolRequireApproval

The MCPToolRequireApproval.

MemoryItem

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 and ChatSummaryMemoryItem.

MemorySearchItem

A retrieved memory item from memory search.

MemorySearchOptions

Memory search options.

MemorySearchPreviewTool

A tool for integrating memories into the agent.

MemorySearchTool

A tool for integrating memories into the agent.

MemorySearchToolCallItemParam

The MemorySearchToolCallItemParam.

MemorySearchToolCallItemResource

The MemorySearchToolCallItemResource.

MessageContent

A content part that makes up an input or output item. Please note this is the abstract base class. The derived classes available for instantiation are: SummaryTextContent, TextContent, ComputerScreenshotContent, MessageContentInputTextContent, MessageContentOutputTextContent, MessageContentReasoningTextContent, MessageContentRefusalContent, MessageContentInputImageContent, and MessageContentInputFileContent.

MessageContentInputFileContent

Input file.

MessageContentInputImageContent

Input image.

MessageContentInputTextContent

Input text.

MessageContentOutputTextContent

Output text.

MessageContentReasoningTextContent

Reasoning text.

MessageContentRefusalContent

Refusal.

Metadata

Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format, and querying for objects via API or the dashboard. Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters.

MicrosoftFabricPreviewTool

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

MoveParam

Move.

NamespaceToolParam

Namespace.

OAuthConsentRequestOutputItem

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

OpenApiAnonymousAuthDetails

Security details for OpenApi anonymous authentication.

OpenApiAuthDetails

authentication details for OpenApiFunctionDefinition Please note this is the abstract base class. The derived classes available for instantiation are: OpenApiAnonymousAuthDetails, OpenApiProjectConnectionAuthDetails, and OpenApiManagedAuthDetails.

OpenApiFunctionDefinition

The input definition information for an openapi function.

OpenApiFunctionDefinitionFunction

The OpenApiFunctionDefinitionFunction.

OpenApiManagedAuthDetails

Security details for OpenApi managed_identity authentication.

OpenApiManagedSecurityScheme

Security scheme for OpenApi managed_identity authentication.

OpenApiProjectConnectionAuthDetails

Security details for OpenApi project connection authentication.

OpenApiProjectConnectionSecurityScheme

Security scheme for OpenApi managed_identity authentication.

OpenApiTool

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

OpenApiToolCall

An OpenAPI tool call.

OpenApiToolCallOutput

The output of an OpenAPI tool call.

OutputContent

The OutputContent. Please note this is the abstract base class. The derived classes available for instantiation are: OutputContentOutputTextContent, OutputContentRefusalContent, and OutputContentReasoningTextContent.

OutputContentOutputTextContent

Output text.

OutputContentReasoningTextContent

Reasoning text.

OutputContentRefusalContent

Refusal.

OutputItem

The OutputItem. Please note this is the abstract base class. The derived classes available for instantiation are: StructuredOutputsOutputItem, WorkflowActionOutputItem, OAuthConsentRequestOutputItem, MemorySearchToolCallItemResource, BingGroundingToolCall, BingGroundingToolCallOutput, SharepointGroundingToolCall, SharepointGroundingToolCallOutput, AzureAISearchToolCall, AzureAISearchToolCallOutput, BingCustomSearchToolCall, BingCustomSearchToolCallOutput, OpenApiToolCall, OpenApiToolCallOutput, BrowserAutomationToolCall, BrowserAutomationToolCallOutput, FabricDataAgentToolCall, FabricDataAgentToolCallOutput, AzureFunctionToolCall, AzureFunctionToolCallOutput, A2AToolCall, A2AToolCallOutput, OutputItemCustomToolCall, OutputItemCustomToolCallOutput, OutputItemFileSearchToolCall, OutputItemFunctionToolCall, OutputItemFunctionToolCallOutput, OutputItemWebSearchToolCall, OutputItemComputerToolCall, OutputItemComputerToolCallOutput, OutputItemReasoningItem, OutputItemToolSearchCall, OutputItemToolSearchOutput, OutputItemCompactionBody, OutputItemImageGenToolCall, OutputItemCodeInterpreterToolCall, OutputItemLocalShellToolCall, OutputItemLocalShellToolCallOutput, OutputItemFunctionShellCall, OutputItemFunctionShellCallOutput, OutputItemApplyPatchToolCall, OutputItemApplyPatchToolCallOutput, OutputItemMcpToolCall, OutputItemMcpListTools, OutputItemMcpApprovalRequest, OutputItemMcpApprovalResponseResource, and OutputItemMessage.

OutputItemApplyPatchToolCall

Apply patch tool call.

OutputItemApplyPatchToolCallOutput

Apply patch tool call output.

OutputItemCodeInterpreterToolCall

Code interpreter tool call.

OutputItemCompactionBody

Compaction item.

OutputItemComputerToolCall

Computer tool call.

OutputItemComputerToolCallOutput

Computer tool call output.

OutputItemCustomToolCall

ResponseCustomToolCallItem.

OutputItemCustomToolCallOutput

ResponseCustomToolCallOutputItem.

OutputItemExtensions

Extension methods for OutputItem that provide efficient access to the Id property without reflection.

OutputItemFileSearchToolCall

File search tool call.

OutputItemFunctionShellCall

Shell tool call.

OutputItemFunctionShellCallOutput

Shell call output.

OutputItemFunctionToolCall

Function tool call.

OutputItemFunctionToolCallOutput

Function tool call output.

OutputItemImageGenToolCall

Image generation call.

OutputItemLocalShellToolCall

Local shell call.

OutputItemLocalShellToolCallOutput

Local shell call output.

OutputItemMcpApprovalRequest

MCP approval request.

OutputItemMcpApprovalResponseResource

MCP approval response.

OutputItemMcpListTools

MCP list tools.

OutputItemMcpToolCall

MCP tool call.

OutputItemMessage

Message.

OutputItemReasoningItem

Reasoning.

OutputItemToolSearchCall

The OutputItemToolSearchCall.

OutputItemToolSearchOutput

The OutputItemToolSearchOutput.

OutputItemWebSearchToolCall

Web search tool call.

Prompt

Reference to a prompt template and its variables. Learn more.

RankingOptions

The RankingOptions.

RealtimeMCPError

The RealtimeMCPError. Please note this is the abstract base class. The derived classes available for instantiation are: RealtimeMCPProtocolError, RealtimeMCPToolExecutionError, and RealtimeMCPHTTPError.

RealtimeMCPHTTPError

Realtime MCP HTTP error.

RealtimeMCPProtocolError

Realtime MCP protocol error.

RealtimeMCPToolExecutionError

Realtime MCP tool execution error.

Reasoning

Reasoning.

ReasoningTextContent

Reasoning text.

ResponseAudioDeltaEvent

Emitted when there is a partial audio response.

ResponseAudioDoneEvent

Emitted when the audio response is complete.

ResponseAudioTranscriptDeltaEvent

Emitted when there is a partial transcript of audio.

ResponseAudioTranscriptDoneEvent

Emitted when the full audio transcript is completed.

ResponseCodeInterpreterCallCodeDeltaEvent

Emitted when a partial code snippet is streamed by the code interpreter.

ResponseCodeInterpreterCallCodeDoneEvent

Emitted when the code snippet is finalized by the code interpreter.

ResponseCodeInterpreterCallCompletedEvent

Emitted when the code interpreter call is completed.

ResponseCodeInterpreterCallInProgressEvent

Emitted when a code interpreter call is in progress.

ResponseCodeInterpreterCallInterpretingEvent

Emitted when the code interpreter is actively interpreting the code snippet.

ResponseCompletedEvent

Emitted when the model response is complete.

ResponseContentPartAddedEvent

Emitted when a new content part is added.

ResponseContentPartDoneEvent

Emitted when a content part is done.

ResponseCreatedEvent

An event that is emitted when a response is created.

ResponseCustomToolCallInputDeltaEvent

ResponseCustomToolCallInputDelta.

ResponseCustomToolCallInputDoneEvent

ResponseCustomToolCallInputDone.

ResponseErrorEvent

Emitted when an error occurs.

ResponseErrorInfo

An error object returned when the model fails to generate a Response.

ResponseExtensions

Extension methods for ResponseObject that provide typed access to BinaryData properties like ToolChoice and Instructions.

ResponseFailedEvent

An event that is emitted when a response fails.

ResponseFileSearchCallCompletedEvent

Emitted when a file search call is completed (results found).

ResponseFileSearchCallInProgressEvent

Emitted when a file search call is initiated.

ResponseFileSearchCallSearchingEvent

Emitted when a file search is currently searching.

ResponseFormatJsonSchemaSchema

JSON schema.

ResponseFunctionCallArgumentsDeltaEvent

Emitted when there is a partial function-call arguments delta.

ResponseFunctionCallArgumentsDoneEvent

Emitted when function-call arguments are finalized.

ResponseImageGenCallCompletedEvent

ResponseImageGenCallCompletedEvent.

ResponseImageGenCallGeneratingEvent

ResponseImageGenCallGeneratingEvent.

ResponseImageGenCallInProgressEvent

ResponseImageGenCallInProgressEvent.

ResponseImageGenCallPartialImageEvent

ResponseImageGenCallPartialImageEvent.

ResponseIncompleteDetails

The ResponseIncompleteDetails.

ResponseIncompleteEvent

An event that is emitted when a response finishes as incomplete.

ResponseInProgressEvent

Emitted when the response is in progress.

ResponseLogProb

A logprob is the logarithmic probability that the model assigns to producing a particular token at a given position in the sequence. Less-negative (higher) logprob values indicate greater model confidence in that token choice.

ResponseLogProbTopLogprobs

The ResponseLogProbTopLogprobs.

ResponseMCPCallArgumentsDeltaEvent

ResponseMCPCallArgumentsDeltaEvent.

ResponseMCPCallArgumentsDoneEvent

ResponseMCPCallArgumentsDoneEvent.

ResponseMCPCallCompletedEvent

ResponseMCPCallCompletedEvent.

ResponseMCPCallFailedEvent

ResponseMCPCallFailedEvent.

ResponseMCPCallInProgressEvent

ResponseMCPCallInProgressEvent.

ResponseMCPListToolsCompletedEvent

ResponseMCPListToolsCompletedEvent.

ResponseMCPListToolsFailedEvent

ResponseMCPListToolsFailedEvent.

ResponseMCPListToolsInProgressEvent

ResponseMCPListToolsInProgressEvent.

ResponseObject

Layer 3 convenience extensions for ResponseObject.

ResponseOutputItemAddedEvent

Emitted when a new output item is added.

ResponseOutputItemDoneEvent

Emitted when an output item is marked done.

ResponseOutputTextAnnotationAddedEvent

ResponseOutputTextAnnotationAddedEvent.

ResponsePromptVariables

Prompt Variables.

ResponseQueuedEvent

ResponseQueuedEvent.

ResponseReasoningSummaryPartAddedEvent

Emitted when a new reasoning summary part is added.

ResponseReasoningSummaryPartAddedEventPart

The ResponseReasoningSummaryPartAddedEventPart.

ResponseReasoningSummaryPartDoneEvent

Emitted when a reasoning summary part is completed.

ResponseReasoningSummaryPartDoneEventPart

The ResponseReasoningSummaryPartDoneEventPart.

ResponseReasoningSummaryTextDeltaEvent

Emitted when a delta is added to a reasoning summary text.

ResponseReasoningSummaryTextDoneEvent

Emitted when a reasoning summary text is completed.

ResponseReasoningTextDeltaEvent

Emitted when a delta is added to a reasoning text.

ResponseReasoningTextDoneEvent

Emitted when a reasoning text is completed.

ResponseRefusalDeltaEvent

Emitted when there is a partial refusal text.

ResponseRefusalDoneEvent

Emitted when refusal text is finalized.

ResponsesModelFactory

Factory for creating model instances with specific values for testing and mocking. Provides a curated subset of factory methods with cleaner parameter names, delegating to the internal AgentServerResponsesModelFactory.

ResponseSnapshotExtensions

Extension methods for creating immutable snapshots of ResponseObject objects.

ResponseStreamEvent

Customizations for ResponseStreamEvent.

ResponseStreamOptions

Options for streaming responses. Only set this when you set stream: true.

ResponseTextDeltaEvent

Emitted when there is an additional text delta.

ResponseTextDoneEvent

Emitted when text content is finalized.

ResponseTextParam

Configuration options for a text response from the model. Can be plain text or structured JSON data. Learn more:

  • [Text inputs and outputs](/docs/guides/text)
  • [Structured Outputs](/docs/guides/structured-outputs)
ResponseUsage

Represents token usage details including input tokens, output tokens, a breakdown of output tokens, and the total tokens used.

ResponseUsageInputTokensDetails

The ResponseUsageInputTokensDetails.

ResponseUsageOutputTokensDetails

The ResponseUsageOutputTokensDetails.

ResponseWebSearchCallCompletedEvent

Emitted when a web search call is completed.

ResponseWebSearchCallInProgressEvent

Emitted when a web search call is initiated.

ResponseWebSearchCallSearchingEvent

Emitted when a web search call is executing.

ScreenshotParam

Screenshot.

ScrollParam

Scroll.

SharepointGroundingToolCall

A SharePoint grounding tool call.

SharepointGroundingToolCallOutput

The output of a SharePoint grounding tool call.

SharepointGroundingToolParameters

The sharepoint grounding tool parameters.

SharepointPreviewTool

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

SkillReferenceParam

The SkillReferenceParam.

SpecificApplyPatchParam

Specific apply patch tool choice.

SpecificFunctionShellParam

Specific shell tool choice.

StructuredOutputDefinition

A structured output that can be produced by the agent.

StructuredOutputsOutputItem

The StructuredOutputsOutputItem.

SummaryTextContent

Summary text.

TextContent

Text Content.

TextResponseFormatConfiguration

An object specifying the format that the model must output. Configuring { "type": "json_schema" } enables Structured Outputs, which ensures the model will match your supplied JSON schema. Learn more in the Structured Outputs guide. The default format is { "type": "text" } with no additional options. Not recommended for gpt-4o and newer models:* Setting to { "type": "json_object" } enables the older JSON mode, which ensures the message the model generates is valid JSON. Using json_schema is preferred for models that support it. Please note this is the abstract base class. The derived classes available for instantiation are: TextResponseFormatJsonSchema, TextResponseFormatConfigurationResponseFormatText, and TextResponseFormatConfigurationResponseFormatJsonObject.

TextResponseFormatConfigurationResponseFormatJsonObject

JSON object.

TextResponseFormatConfigurationResponseFormatText

Text.

TextResponseFormatJsonSchema

JSON schema.

Tool

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: BingGroundingTool, MicrosoftFabricPreviewTool, SharepointPreviewTool, AzureAISearchTool, OpenApiTool, BingCustomSearchPreviewTool, BrowserAutomationPreviewTool, AzureFunctionTool, CaptureStructuredOutputsTool, A2APreviewTool, WorkIQPreviewTool, MemorySearchPreviewTool, MemorySearchTool, CodeInterpreterTool, FunctionTool, FileSearchTool, ComputerUsePreviewTool, WebSearchTool, MCPTool, ImageGenTool, LocalShellToolParam, FunctionShellToolParam, CustomToolParam, WebSearchPreviewTool, ApplyPatchToolParam, ComputerTool, NamespaceToolParam, and ToolSearchToolParam.

ToolChoiceAllowed

Allowed tools.

ToolChoiceCodeInterpreter

Indicates that the model should use a built-in tool to generate a response. Learn more about built-in tools.

ToolChoiceComputer

Indicates that the model should use a built-in tool to generate a response. Learn more about built-in tools.

ToolChoiceComputerUse

Indicates that the model should use a built-in tool to generate a response. Learn more about built-in tools.

ToolChoiceComputerUsePreview

Indicates that the model should use a built-in tool to generate a response. Learn more about built-in tools.

ToolChoiceCustom

Custom tool.

ToolChoiceFileSearch

Indicates that the model should use a built-in tool to generate a response. Learn more about built-in tools.

ToolChoiceFunction

Function tool.

ToolChoiceImageGeneration

Indicates that the model should use a built-in tool to generate a response. Learn more about built-in tools.

ToolChoiceMCP

MCP tool.

ToolChoiceParam

How the model should select which tool (or tools) to use when generating a response. See the tools parameter to see how to specify which tools the model can call. Please note this is the abstract base class. The derived classes available for instantiation are: ToolChoiceAllowed, ToolChoiceFunction, ToolChoiceMCP, ToolChoiceCustom, SpecificApplyPatchParam, SpecificFunctionShellParam, ToolChoiceFileSearch, ToolChoiceWebSearchPreview, ToolChoiceComputerUsePreview, ToolChoiceWebSearchPreview20250311, ToolChoiceImageGeneration, ToolChoiceCodeInterpreter, ToolChoiceComputer, and ToolChoiceComputerUse.

ToolChoiceWebSearchPreview

Indicates that the model should use a built-in tool to generate a response. Learn more about built-in tools.

ToolChoiceWebSearchPreview20250311

Indicates that the model should use a built-in tool to generate a response. Learn more about built-in tools.

ToolProjectConnection

A project connection resource.

ToolSearchCallItemParam

The ToolSearchCallItemParam.

ToolSearchOutputItemParam

The ToolSearchOutputItemParam.

ToolSearchToolParam

Tool search tool.

TopLogProb

Top log probability.

TypeParam

Type.

UrlCitationBody

URL citation.

UserProfileMemoryItem

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

VectorStoreFileAttributes

Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format, and querying for objects via API or the dashboard. Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters, booleans, or numbers.

WaitParam

Wait.

WebSearchActionFind

Find action.

WebSearchActionOpenPage

Open page action.

WebSearchActionSearch

Search action.

WebSearchActionSearchSources

The WebSearchActionSearchSources.

WebSearchApproximateLocation

Web search approximate location.

WebSearchConfiguration

A web search configuration for bing custom search.

WebSearchPreviewTool

Web search preview.

WebSearchTool

Web search.

WebSearchToolFilters

The WebSearchToolFilters.

WorkflowActionOutputItem

The WorkflowActionOutputItem.

WorkIQPreviewTool

A WorkIQ server-side tool.

WorkIQPreviewToolParameters

The WorkIQ tool parameters.

Structs

Name Description
AnnotationType
ApplyPatchFileOperationType
ApplyPatchOperationParamType
AzureAISearchQueryType

Available query types for Azure AI Search tool.

ComputerActionType
ContainerNetworkPolicyParamType
ContainerSkillType
CustomToolParamFormatType
FunctionAndCustomToolCallOutputType
FunctionShellCallEnvironmentType
FunctionShellCallItemParamEnvironmentType
FunctionShellCallOutputOutcomeParamType
FunctionShellCallOutputOutcomeType
FunctionShellToolParamEnvironmentType
ImageGenToolModel
IncludeEnum

Specify additional output data to include in the model response. Currently supported values are:

  • `web_search_call.action.sources`: Include the sources of the web search tool call.
  • `code_interpreter_call.outputs`: Includes the outputs of python code execution in code interpreter tool call items.
  • `computer_call_output.output.image_url`: Include image urls from the computer call output.
  • `file_search_call.results`: Include the search results of the file search tool call.
  • `message.input_image.image_url`: Include image urls from the input message.
  • `message.output_text.logprobs`: Include logprobs with assistant messages.
  • `reasoning.encrypted_content`: Includes an encrypted version of reasoning tokens in reasoning item outputs. This enables reasoning items to be used in multi-turn conversations when using the Responses API statelessly (like when the `store` parameter is set to `false`, or when an organization is enrolled in the zero data retention program).
ItemFieldType
ItemType
MemoryItemKind

Memory item kind.

MessageContentType
ModelIdsCompaction

Model ID used to generate the response, like gpt-5 or o3. OpenAI offers a wide range of models with different capabilities, performance characteristics, and price points. Refer to the model guide to browse and compare available models.

OpenApiAuthType

Authentication type for OpenApi endpoint. Allowed types are:

  • Anonymous (no authentication required)
  • Project Connection (requires project_connection_id to endpoint, as setup in AI Foundry)
  • Managed_Identity (requires audience for identity based auth)
OutputContentType
OutputItemType
OutputMessageContentType
RealtimeMcpErrorType
ResponseErrorCode

The error code for the response.

ResponseStreamEventType
TextResponseFormatConfigurationType
ToolChoiceParamType
ToolType

Enums

Name Description
ApplyPatchCallOutputStatus
ApplyPatchCallOutputStatusParam

Outcome values reported for apply_patch tool call outputs.

ApplyPatchCallStatus
ApplyPatchCallStatusParam

Status values reported for apply_patch tool calls.

ClickButtonType
ComputerEnvironment
ContainerMemoryLimit
CreateResponsePromptCacheRetention
CreateResponseReasoningEffort
CreateResponseReasoningGenerateSummary
CreateResponseReasoningSummary
CreateResponseServiceTier
CreateResponseTruncation
DetailEnum
FileSearchToolFiltersType
FileSearchToolFiltersType1
FunctionCallItemStatus
FunctionCallOutputStatusEnum
FunctionCallStatus
FunctionShellCallItemStatus

Status values reported for shell tool calls.

GrammarSyntax1
ImageDetail
ImageGenActionEnum
ImageGenToolBackground
ImageGenToolModeration
ImageGenToolOutputFormat
ImageGenToolQuality
ImageGenToolSize
InputFidelity

Control how much effort the model will exert to match the style and features, especially facial features, of input images. This parameter is only supported for gpt-image-1 and gpt-image-1.5 and later models, unsupported for gpt-image-1-mini. Supports high and low. Defaults to low.

ItemCodeInterpreterToolCallStatus
ItemComputerToolCallStatus
ItemFileSearchToolCallStatus
ItemFunctionToolCallStatus
ItemImageGenToolCallStatus
ItemLocalShellToolCallOutputStatus
ItemLocalShellToolCallStatus
ItemOutputMessageStatus
ItemReasoningItemStatus
ItemWebSearchToolCallStatus
LocalShellCallOutputStatusEnum
LocalShellCallStatus
MCPToolCallStatus
MCPToolConnectorId
MemorySearchToolCallItemResourceStatus
MessagePhase

Labels an assistant message as intermediate commentary (commentary) or the final answer (final_answer). For models like gpt-5.3-codex and beyond, when sending follow-up requests, preserve and resend phase on all assistant messages — dropping it can degrade performance. Not used for user messages.

MessageRole
MessageStatus
OutputItemComputerToolCallOutputStatus
OutputItemFunctionToolCallOutputStatus
PageOrder
RankerVersionType
ResponseIncompleteDetailsReason
ResponseStatus
ResponseTextParamVerbosity
SearchContentType
SearchContextSize
ToolCallStatus

The status of a tool call.

ToolChoiceAllowedMode
ToolChoiceOptions

Controls which (if any) tool is called by the model. none means the model will not call any tool and instead generates a message. auto means the model can pick between generating a message or calling one or more tools. required means the model must call one or more tools.

ToolSearchExecutionType
WebSearchToolSearchContextSize
WorkflowActionOutputItemStatus