Table of Contents

Namespace OpenAI.Responses

Classes

AudioContent
ClickComputerAction

A click action.

CodeInterpreterContainer
CodeInterpreterTool

A tool that runs Python code to help generate a response to a prompt.

CodeInterpreterToolCall

A tool call to run code.

ComputerScreenShot
ComputerToolCall
ComputerToolCallSafetyCheck

A pending safety check for the computer call.

ComputerUsePreviewTool

A tool that controls a virtual computer. Learn more about the computer tool.

CreateResponseRequest
DoubleClickComputerAction

A double click action.

DragComputerAction

A drag action.

FileContent
FileSearchResult
FileSearchTool

A tool that searches for relevant content from uploaded files.

FileSearchToolCall

The results of a file search tool call.

FunctionToolCall

A tool call to run a function.

FunctionToolCallOutput
FunctionToolCallOutput<T>
ImageContent
ImageGenerationCall

An image generation request made by the model.

ImageGenerationTool

A tool that generates images using a model like gpt-image-1.

IncompleteDetails
InputImageMask
ItemReference
KeyPressComputerAction

A collection of keypresses the model would like to perform.

LocalShellAction
LocalShellCall
LocalShellCallOutput
LocalShellTool

A tool that allows the model to execute shell commands in a local environment.

MCPApprovalFilter
MCPApprovalRequest
MCPApprovalResponse
MCPListTools
MCPServerTool
MCPTool

Give the model access to additional tools via remote Model Context Protocol (MCP) servers.

MCPToolCall
MCPToolList
Message
MoveComputerAction

A mouse move action.

Prompt
ReasoningItem

A description of the chain of thought used by a reasoning model while generating a response.

ReasoningSummary
RefusalContent
Response
ResponsesEndpoint

OpenAI's most advanced interface for generating model responses. Supports text and image inputs, and text outputs. Create stateful interactions with the model, using the output of previous responses as input. Extend the model's capabilities with built-in tools for file search, web search, computer use, and more. Allow the model access to external systems and data using function calling.

ResponsesExtensions
ScreenshotComputerAction

A screenshot action.

ScrollComputerAction

A scroll action.

TextContent
TypeComputerAction

An action to type in text.

UserLocation
WaitComputerAction

A wait action.

WebSearchPreviewTool

This tool searches the web for relevant results to use in a response.

WebSearchToolCall

Structs

Coordinate

Interfaces

IComputerAction
IResponseContent
IResponseItem

Enums

ComputerActionType
ComputerClickButtonType
IncompleteReason
ResponseContentType
ResponseItemType
ResponseStatus
SearchContextSize
Truncation