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 an anyOf type parameter.
Link copied to clipboard
Represents a boolean type parameter.
Link copied to clipboard
Represents an enum type parameter.
Link copied to clipboard
Represents a float type parameter.
Link copied to clipboard
Represents an integer type parameter.
Link copied to clipboard
Represents an array type parameter.
Link copied to clipboard
Link copied to clipboard
data class Object(val properties: List<ToolParameterDescriptor>, val requiredProperties: List<String> = listOf(), val additionalProperties: Boolean? = null, val additionalPropertiesType: ToolParameterType? = null) : ToolParameterType
Represents an object-type parameter used in the tool's parameter schema. This class is a specialization of ToolParameterType with the parameter type set to "OBJECT".
Link copied to clipboard
Represents a string type parameter.