ToolDetail.ToolMethodDetail

data class ToolDetail.ToolMethodDetail


Details of a single tool method.

Summary

Public constructors

ToolMethodDetail(
    name: String,
    description: String,
    parameters: List<ToolDetail.ToolParameterDetail>,
    returnType: KClass<*>
)

Public properties

String

Description of what the tool does.

String

The name of the tool method.

List<ToolDetail.ToolParameterDetail>

List of parameters for the tool method.

KClass<*>

The return type of the tool method.

Public constructors

ToolMethodDetail

ToolMethodDetail(
    name: String,
    description: String,
    parameters: List<ToolDetail.ToolParameterDetail>,
    returnType: KClass<*>
)

Public properties

description

val descriptionString

Description of what the tool does.

name

val nameString

The name of the tool method.

parameters

val parametersList<ToolDetail.ToolParameterDetail>

List of parameters for the tool method.

returnType

val returnTypeKClass<*>

The return type of the tool method.