FunctionDeclaration

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

Represents a function declaration for tool calling.

Constructors

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

Properties

Link copied to clipboard

A description of what the function does.

Link copied to clipboard

The name of the function.

Link copied to clipboard
val parameters: Schema? = null

The parameters required by this function.