Skip to main content

Module input

Module input 

Source
Expand description

Native OpenAI Responses input, output items, tool and configuration shapes.

The request uses the same native input and tool shapes as Responses. The types here deliberately remain OpenAI-shaped; they are not a shared IR.

Shapes follow Get input token counts.md, including native history items. Known structures are typed; rest retains only unknown extension fields.

Structs§

AdditionalTools
AdditionalToolsBuilder
Builder for AdditionalTools.
ApplyPatchCall
ApplyPatchCallBuilder
Builder for ApplyPatchCall.
ApplyPatchCallOutput
ApplyPatchCallOutputBuilder
Builder for ApplyPatchCallOutput.
ApplyPatchCreate
ApplyPatchCreateBuilder
Builder for ApplyPatchCreate.
ApplyPatchDelete
ApplyPatchDeleteBuilder
Builder for ApplyPatchDelete.
ApplyPatchUpdate
ApplyPatchUpdateBuilder
Builder for ApplyPatchUpdate.
ClickAction
ClickActionBuilder
Builder for ClickAction.
CodeImage
CodeImageBuilder
Builder for CodeImage.
CodeInterpreterCall
CodeInterpreterCallBuilder
Builder for CodeInterpreterCall.
CodeLogs
CodeLogsBuilder
Builder for CodeLogs.
Compaction
CompactionBuilder
Builder for Compaction.
CompactionTrigger
CompactionTriggerBuilder
Builder for CompactionTrigger.
ComputerCall
ComputerCallBuilder
Builder for ComputerCall.
ComputerCallOutput
ComputerCallOutputBuilder
Builder for ComputerCallOutput.
ComputerScreenshot
ComputerScreenshotBuilder
Builder for ComputerScreenshot.
ConfigurationReasoning
ConfigurationReasoningBuilder
Builder for ConfigurationReasoning.
ConfigurationUpdate
ConfigurationUpdateBuilder
Builder for ConfigurationUpdate.
ContainerFileCitation
ContainerFileCitationBuilder
Builder for ContainerFileCitation.
Coordinate
CoordinateBuilder
Builder for Coordinate.
CustomToolCall
CustomToolCallBuilder
Builder for CustomToolCall.
CustomToolCallOutput
CustomToolCallOutputBuilder
Builder for CustomToolCallOutput.
DirectCaller
DirectCallerBuilder
Builder for DirectCaller.
DoubleClickAction
DoubleClickActionBuilder
Builder for DoubleClickAction.
DragAction
DragActionBuilder
Builder for DragAction.
EasyInputMessage
EasyInputMessageBuilder
Builder for EasyInputMessage.
FileCitation
FileCitationBuilder
Builder for FileCitation.
FilePath
FilePathBuilder
Builder for FilePath.
FileSearchCall
FileSearchCallBuilder
Builder for FileSearchCall.
FileSearchResult
FileSearchResultBuilder
Builder for FileSearchResult.
FunctionCall
FunctionCallBuilder
Builder for FunctionCall.
FunctionCallOutput
FunctionCallOutputBuilder
Builder for FunctionCallOutput.
FunctionOutputFile
FunctionOutputFileBuilder
Builder for FunctionOutputFile.
FunctionOutputImage
FunctionOutputImageBuilder
Builder for FunctionOutputImage.
FunctionOutputText
FunctionOutputTextBuilder
Builder for FunctionOutputText.
ImageGenerationCall
ImageGenerationCallBuilder
Builder for ImageGenerationCall.
InputMessage
InputMessageBuilder
Builder for InputMessage.
ItemReference
ItemReferenceBuilder
Builder for ItemReference.
KeypressAction
KeypressActionBuilder
Builder for KeypressAction.
LocalShellAction
LocalShellActionBuilder
Builder for LocalShellAction.
LocalShellCall
LocalShellCallBuilder
Builder for LocalShellCall.
LocalShellCallOutput
LocalShellCallOutputBuilder
Builder for LocalShellCallOutput.
McpApprovalRequest
McpApprovalRequestBuilder
Builder for McpApprovalRequest.
McpApprovalResponse
McpApprovalResponseBuilder
Builder for McpApprovalResponse.
McpCall
McpCallBuilder
Builder for McpCall.
McpListTools
McpListToolsBuilder
Builder for McpListTools.
McpToolDefinition
McpToolDefinitionBuilder
Builder for McpToolDefinition.
MoveAction
MoveActionBuilder
Builder for MoveAction.
OutputLogprob
OutputLogprobBuilder
Builder for OutputLogprob.
PendingSafetyCheck
PendingSafetyCheckBuilder
Builder for PendingSafetyCheck.
Program
ProgramBuilder
Builder for Program.
ProgramCaller
ProgramCallerBuilder
Builder for ProgramCaller.
ProgramOutput
ProgramOutputBuilder
Builder for ProgramOutput.
PromptCacheBreakpoint
PromptCacheBreakpointBuilder
Builder for PromptCacheBreakpoint.
ReasoningConfig
ReasoningConfigBuilder
Builder for ReasoningConfig.
ReasoningContent
ReasoningContentBuilder
Builder for ReasoningContent.
ReasoningItem
ReasoningItemBuilder
Builder for ReasoningItem.
ResponseConversationParam
ResponseConversationParamBuilder
Builder for ResponseConversationParam.
ResponseInputFile
ResponseInputFileBuilder
Builder for ResponseInputFile.
ResponseInputImage
ResponseInputImageBuilder
Builder for ResponseInputImage.
ResponseInputText
ResponseInputTextBuilder
Builder for ResponseInputText.
ResponseOutputMessage
ResponseOutputMessageBuilder
Builder for ResponseOutputMessage.
ResponseOutputRefusal
ResponseOutputRefusalBuilder
Builder for ResponseOutputRefusal.
ResponseOutputText
ResponseOutputTextBuilder
Builder for ResponseOutputText.
ScreenshotAction
ScreenshotActionBuilder
Builder for ScreenshotAction.
ScrollAction
ScrollActionBuilder
Builder for ScrollAction.
ShellAction
ShellActionBuilder
Builder for ShellAction.
ShellCall
ShellCallBuilder
Builder for ShellCall.
ShellCallOutput
ShellCallOutputBuilder
Builder for ShellCallOutput.
ShellExit
ShellExitBuilder
Builder for ShellExit.
ShellOutputContent
ShellOutputContentBuilder
Builder for ShellOutputContent.
ShellTimeout
ShellTimeoutBuilder
Builder for ShellTimeout.
SummaryText
SummaryTextBuilder
Builder for SummaryText.
TextConfig
TextConfigBuilder
Builder for TextConfig.
TextFormatJsonObject
TextFormatJsonObjectBuilder
Builder for TextFormatJsonObject.
TextFormatJsonSchema
TextFormatJsonSchemaBuilder
Builder for TextFormatJsonSchema.
TextFormatText
TextFormatTextBuilder
Builder for TextFormatText.
ToolChoiceAllowed
ToolChoiceAllowedBuilder
Builder for ToolChoiceAllowed.
ToolChoiceApplyPatch
ToolChoiceApplyPatchBuilder
Builder for ToolChoiceApplyPatch.
ToolChoiceCustom
ToolChoiceCustomBuilder
Builder for ToolChoiceCustom.
ToolChoiceFunction
ToolChoiceFunctionBuilder
Builder for ToolChoiceFunction.
ToolChoiceHosted
ToolChoiceHostedBuilder
Builder for ToolChoiceHosted.
ToolChoiceMcp
ToolChoiceMcpBuilder
Builder for ToolChoiceMcp.
ToolChoiceProgrammatic
ToolChoiceProgrammaticBuilder
Builder for ToolChoiceProgrammatic.
ToolChoiceShell
ToolChoiceShellBuilder
Builder for ToolChoiceShell.
ToolSearchCall
ToolSearchCallBuilder
Builder for ToolSearchCall.
ToolSearchOutput
ToolSearchOutputBuilder
Builder for ToolSearchOutput.
TopLogprob
TopLogprobBuilder
Builder for TopLogprob.
TypeAction
TypeActionBuilder
Builder for TypeAction.
UrlCitation
UrlCitationBuilder
Builder for UrlCitation.
WaitAction
WaitActionBuilder
Builder for WaitAction.
WebSearchCall
WebSearchCallBuilder
Builder for WebSearchCall.
WebSearchFindInPage
WebSearchFindInPageBuilder
Builder for WebSearchFindInPage.
WebSearchOpenPage
WebSearchOpenPageBuilder
Builder for WebSearchOpenPage.
WebSearchQuery
WebSearchQueryBuilder
Builder for WebSearchQuery.
WebSearchSource
WebSearchSourceBuilder
Builder for WebSearchSource.

Enums§

AdditionalToolsRole
AdditionalToolsType
AllowedToolChoiceMode
ApplyPatchCallOutputType
ApplyPatchCallType
ApplyPatchOperation
ApplyPatchOutputStatus
ApplyPatchStatus
Caller
ClickButton
CodeInterpreterCallType
CodeInterpreterOutput
CodeInterpreterStatus
CompactionTriggerType
CompactionType
ComputerAction
ComputerCallOutputType
ComputerCallType
ComputerScreenshotType
ConfigurationUpdateType
ContainerFileCitationType
ConversationParam
CustomOutput
CustomToolCallOutputType
CustomToolCallType
FileAttributeValue
FileCitationType
FileDetail
FilePathType
FileSearchCallType
FileSearchStatus
FunctionCallOutputType
FunctionCallType
FunctionOutput
FunctionOutputContent
ImageDetail
ImageGenerationCallType
ImageGenerationStatus
Input
InputContent
InputItem
InputMessageRole
ItemReferenceType
ItemStatus
LocalShellActionType
LocalShellCallOutputType
LocalShellCallType
McpApprovalRequestType
McpApprovalResponseType
McpCallStatus
McpCallType
McpListToolsType
MessageContent
MessagePhase
MessageRole
MessageType
OutputAnnotation
OutputContent
OutputMessageRole
OutputMessageStatus
ProgramOutputStatus
ProgramOutputType
ProgramType
PromptCacheBreakpointTtl
Explicit cache-breakpoint lifetimes from OpenAI’s PromptCacheBreakpointParam. Separate from the request-wide PromptCacheTTLEnum and legacy retention policy.
PromptCacheMode
ReasoningContext
ReasoningEffort
ReasoningItemType
ReasoningStatus
ReasoningSummary
ReasoningTextType
ResponseInputFileType
ResponseInputImageType
ResponseInputTextType
ResponseOutputRefusalType
ResponseOutputTextType
ShellCallEnvironment
ShellCallOutputType
ShellCallType
ShellOutputOutcome
SummaryTextType
TextFormat
TextVerbosity
ToolChoice
ToolChoiceAllowedType
ToolChoiceApplyPatchType
ToolChoiceCustomType
ToolChoiceFunctionType
ToolChoiceHostedType
ToolChoiceMcpType
ToolChoiceMode
ToolChoiceProgrammaticType
ToolChoiceShellType
ToolSearchCallType
ToolSearchOutputType
UrlCitationType
WebSearchAction
WebSearchCallType
WebSearchSourceType
WebSearchStatus

Type Aliases§

ComputerToolCallOutput