Named

@Serializable
data class Named(val type: ToolType? = null, val function: FunctionToolChoice? = null) : ToolChoice

Specifies a tool the model should use.

Constructors

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

Properties

Link copied to clipboard
@SerialName(value = "function")
val function: FunctionToolChoice? = null
Link copied to clipboard
@SerialName(value = "type")
val type: ToolType? = null