Skip to main content

//clika-runtime/io.clika.modelverse/ToolChoice

ToolChoice

sealed class ToolChoice

How the model may use the tools a request offers.

Inheritors​

None
Auto
Required
Named

Types​

NameSummary
Auto[common]
object Auto : ToolChoice
The model decides whether to call; the default when tools are offered.
Named[common]
data class Named(val name: String) : ToolChoice
The model must call the function name.
None[common]
object None : ToolChoice
The tools are not offered and no call is read; the call syntax stays text.
Required[common]
object Required : ToolChoice
The model must call a tool.