ToolChoice

@Serializable
data object ToolChoice : LLMCapability(source)

Represents how tools calling can be configured for the LLM.

Depending on the LLM, will configure it to generate:

  • Automatically choose to generate either text or tool call

  • Generate only tool calls, never text

  • Generate only text, never tool calls

  • Force to call one specific tool among the defined tools

Properties

Link copied to clipboard
val id: String

The unique identifier for this capability.