OpenAIResponsesWebSearchCall

@Serializable
@SerialName(value = "web_search_call")
data class OpenAIResponsesWebSearchCall(val id: String, val status: OpenAIWebSearchStatus, val action: OpenAIWebSearchAction? = null) : OpenAIResponseInputItem, OpenAIResponseOutputItem

A web search tool call performed by the model.

Constructors

Link copied to clipboard
constructor(id: String, status: OpenAIWebSearchStatus, action: OpenAIWebSearchAction? = null)

Properties

Link copied to clipboard

The specific action taken during the search, when available.

Link copied to clipboard
val id: String

The unique ID of the web search tool call.

Link copied to clipboard
open override val printableContent: String
Link copied to clipboard

The status of the web search tool call.