ChatAllowedTool

@Serializable
data class ChatAllowedTool(val type: String, val function: FunctionToolChoice? = null, val custom: FunctionToolChoice? = null)

A function or custom tool reference.

Constructors

Link copied to clipboard
constructor(type: String, function: FunctionToolChoice? = null, custom: FunctionToolChoice? = null)

Properties

Link copied to clipboard

Custom tool reference.

Link copied to clipboard

Function tool reference.

Link copied to clipboard

function or custom.