ToolParameterType

Sealed class representing different types of tool parameters.

Each subclass of ToolParameterType denotes a specific data type that a tool parameter can have.

Parameters

T

The type of data that the tool parameter represents.

Inheritors

Types

Link copied to clipboard

Represents a boolean type parameter.

Link copied to clipboard
object Companion
Link copied to clipboard
data class Enum(val entries: Array<String>) : ToolParameterType

Represents an enum type parameter.

Link copied to clipboard
data object Float : ToolParameterType

Represents a float type parameter.

Link copied to clipboard

Represents an integer type parameter.

Link copied to clipboard
data class List(val itemsType: ToolParameterType) : ToolParameterType

Represents an array type parameter.

Link copied to clipboard
data class Object(val properties: List<ToolParameterDescriptor>) : ToolParameterType

Represents an array type parameter.

Link copied to clipboard

Represents a string type parameter.

Properties

Link copied to clipboard

The name associated with the type of tool parameter.