ToolDto

@Serializable
data class ToolDto(var type: ToolType = ToolType.UNSPECIFIED, var async: Boolean? = null, val functionDto: FunctionDto = FunctionDto(), val messages: MutableList<CommonToolMessageDto> = mutableListOf(), val server: ServerDto = ServerDto(), val destinations: MutableList<CommonDestinationDto> = mutableListOf(), val metadata: MutableMap<String, String> = mutableMapOf()) : ToolWithMetaDataProperties(source)

Constructors

Link copied to clipboard
constructor(type: ToolType = ToolType.UNSPECIFIED, async: Boolean? = null, functionDto: FunctionDto = FunctionDto(), messages: MutableList<CommonToolMessageDto> = mutableListOf(), server: ServerDto = ServerDto(), destinations: MutableList<CommonDestinationDto> = mutableListOf(), metadata: MutableMap<String, String> = mutableMapOf())

Properties

Link copied to clipboard
Link copied to clipboard
@SerialName(value = "function")
val functionDto: FunctionDto
Link copied to clipboard
Link copied to clipboard
open override val metadata: MutableMap<String, String>
Link copied to clipboard
Link copied to clipboard
@EncodeDefault
var type: ToolType