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

interface ChatCompletionNamedToolChoiceCustom {
    custom: OpenAIClient.Chat.Completions.ChatCompletionNamedToolChoiceCustom.Custom;
    type: "custom";
}

Properties

Properties

type: "custom"

For custom tool calling, the type is always custom.