interface ChatCompletionTool {
    function: OpenAIClient.FunctionDefinition;
    type: "function";
}

Properties

Properties

type: "function"

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