Tool

data class Tool(val functionDeclarations: List<FunctionDeclaration>? = null, val googleSearch: GoogleSearch? = null, val googleMaps: GoogleMaps? = null, val retrieval: Retrieval? = null)

Represents a GenAI tool definition.

Constructors

Link copied to clipboard
constructor(functionDeclarations: List<FunctionDeclaration>? = null, googleSearch: GoogleSearch? = null, googleMaps: GoogleMaps? = null, retrieval: Retrieval? = null)

Properties

Link copied to clipboard

The function declarations associated with this tool.

Link copied to clipboard
val googleMaps: GoogleMaps? = null

A google maps tool.

Link copied to clipboard

A google search tool.

Link copied to clipboard
val retrieval: Retrieval? = null

A retrieval tool.