ToolChoice

@Serializable(with = ToolChoiceSerializer::class)
sealed interface ToolChoice

Controls how the model picks a tool to call.

Implementations:

When omitted, the DeepSeek API defaults to auto if tools are provided and none otherwise.

Inheritors