ComputerScreenshot

@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.

Constructors

Link copied to clipboard
constructor(type: String = "computer_screenshot", imageUrl: String? = null, fileId: String? = null)

Properties

Link copied to clipboard
@SerialName(value = "file_id")
val fileId: String?

The identifier of the uploaded image file. Mutually exclusive with imageUrl.

Link copied to clipboard
@SerialName(value = "image_url")
val imageUrl: String?

The URL of the screenshot image. Mutually exclusive with fileId.

Link copied to clipboard

The type of the output. Always "computer_screenshot".

Functions

Link copied to clipboard
open override fun toString(): String