ToolExaAiSearch

@Serializable
data class ToolExaAiSearch(val apiKey: String? = null, val customConfigs: Map<String, JsonElement>? = null)

ExaAiSearch tool type. A tool that uses the Exa.ai search engine for grounding. This data type is not supported in Gemini API.

Constructors

Link copied to clipboard
constructor(apiKey: String? = null, customConfigs: Map<String, JsonElement>? = null)

Properties

Link copied to clipboard
val apiKey: String? = null

Required. The API key for ExaAiSearch.

Link copied to clipboard
val customConfigs: Map<String, JsonElement>? = null

Optional. This field can be used to pass any parameter from the Exa.ai Search API.