FunctionDeclaration

data class FunctionDeclaration(val name: String, val description: String? = null, val parameters: Map<String, Any>? = null)(source)

Represents a function declaration for a tool.

Constructors

Link copied to clipboard
constructor(name: String, description: String? = null, parameters: Map<String, Any>? = 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

The parameters that the function accepts.