ToolParameterDescriptor

data class ToolParameterDescriptor(val name: String, val description: String, val type: ToolParameterType)(source)

Represents a descriptor for a tool parameter. A tool parameter descriptor contains information about a specific tool parameter, such as its name, description, data type, and default value.

Note that parameters are deserialized using CamelCase to snake_case conversion, so use snake_case names

This class is annotated with @Serializable to support serialization/deserialization using kotlinx.serialization.

Constructors

Link copied to clipboard
constructor(name: String, description: String, type: ToolParameterType)

Properties

Link copied to clipboard

The description of the tool parameter.

Link copied to clipboard

The name of the tool parameter in snake_case

Link copied to clipboard

The data type of the tool parameter.