ToolDetail.ToolParameterDetail

data class ToolDetail.ToolParameterDetail


Details of a single parameter of a tool method.

Summary

Public constructors

ToolParameterDetail(
    name: String,
    type: KClass<*>,
    description: String?,
    required: Boolean
)

Public properties

String?

Description of the parameter.

String

The name of the parameter.

Boolean

Whether the parameter is required.

KClass<*>

The class type of the parameter.

Public constructors

ToolParameterDetail

ToolParameterDetail(
    name: String,
    type: KClass<*>,
    description: String?,
    required: Boolean
)

Public properties

description

val descriptionString?

Description of the parameter.

name

val nameString

The name of the parameter.

required

val requiredBoolean

Whether the parameter is required.

type

val typeKClass<*>

The class type of the parameter.