SearchTypes

@Serializable
data class SearchTypes(val webSearch: WebSearch? = null, val imageSearch: ImageSearch? = null)

Different types of search that can be enabled on the GoogleSearch tool.

Constructors

Link copied to clipboard
constructor(webSearch: WebSearch? = null, imageSearch: ImageSearch? = null)

Properties

Link copied to clipboard

Optional. Setting this field enables image search. Image bytes are returned.

Link copied to clipboard
val webSearch: WebSearch? = null

Optional. Setting this field enables web search. Only text results are returned.