OpenAIResponsesComputerCallResult

The result of a computer tool call.

Can be either a plain string (the raw tool output) or a screenshot taken by the computer tool (ComputerScreenshot).

See also

Inheritors

Types

Link copied to clipboard
@Serializable
data class ComputerScreenshot(val type: String = "computer_screenshot", val imageUrl: String? = null, val fileId: String? = null) : OpenAIResponsesComputerCallResult

A screenshot taken by the computer tool.

Link copied to clipboard
@Serializable
value class StringOutput(val value: String) : OpenAIResponsesComputerCallResult

The raw output of the computer tool call as a string.