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

Properties

Properties

function: FunctionDefinition
type: "function"

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