FunctionProperty

data class FunctionProperty(var type: String, var description: String? = null, var enum: MutableList<String>? = null)

Represents 1 single parameter from a map of parameters for a function.

You probably shouldn't use this class directly. Instead, use FunctionTool.builder.

Constructors

Link copied to clipboard
constructor(type: String, description: String? = null, enum: MutableList<String>? = null)

Properties

Link copied to clipboard

A description of the parameter. This is optional.

Link copied to clipboard

A list of possible values for the parameter. This is optional.

Link copied to clipboard

The data type of the parameter. Usually either string or integer.