Specifies a tool the model should use. Use to force the model to call a specific function.

interface ChatCompletionNamedToolChoice {
    function: OpenAIClient.Chat.Completions.ChatCompletionNamedToolChoice.Function;
    type: "function";
}

Properties

type: "function"

The type of the tool. Currently, only function is supported.

""