# 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

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

## Properties

functionDeclarations
Link copied to clipboard
val functionDeclarations: List<FunctionDeclaration>? = null

The function declarations associated with this tool.

googleMaps
Link copied to clipboard
val googleMaps: GoogleMaps? = null

A google maps tool.

googleSearch
Link copied to clipboard
val googleSearch: GoogleSearch? = null

A google search tool.

retrieval
Link copied to clipboard
val retrieval: Retrieval? = null

A retrieval tool.