# FunctionDeclaration

data class FunctionDeclaration(val name: String, val description: String, val parameters: Schema? = null)

Represents a function declaration for tool calling.

## Constructors

FunctionDeclaration
Link copied to clipboard
constructor(name: String, description: String, parameters: Schema? = null)

## Properties

description
Link copied to clipboard
val description: String

A description of what the function does.

name
Link copied to clipboard
val name: String

The name of the function.

parameters
Link copied to clipboard
val parameters: Schema? = null

The parameters required by this function.