Package-level declarations
Types
A list of one or many input items to the model, containing different content types.
A code interpreter tool call: the model writes and runs code in a container.
An output produced by a code interpreter tool call.
The result of a computer tool call.
The result of a computer tool call.
A custom tool call: a tool whose input is freeform text defined by the caller.
The result of a custom tool call, sent back to the model as input.
An image generation tool call performed by the model.
A reference to an existing item (by ID) used as input to the model, instead of repeating the full item content.
A local shell tool call: the model requests a shell command execution.
The result of a local shell tool call, sent back to the model as input.
A request from the model to the user for approval to invoke an MCP tool.
The user's response to an OpenAIResponsesMcpApprovalRequest: whether the tool invocation was approved, with an optional explanation.
An MCP tool call performed by the model against a configured MCP server.
A web search tool call performed by the model.