ChatCompletionTool interface

A function tool that can be used to generate a response.

Properties

function
type

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

Property Details

function

function: FunctionObject

Property Value

type

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

type: "function"

Property Value

"function"