ChatCompletionsFunctionToolDefinition interface

The definition information for a chat completions function tool that can call a function in response to a tool call.

Extends

Properties

function

The function definition details for the function tool.

type

The object name, which is always 'function'.

Property Details

function

The function definition details for the function tool.

function: FunctionDefinition

Property Value

type

The object name, which is always 'function'.

type: "function"

Property Value

"function"