ChatCompletionsFunctionToolCall interface

A tool call to a function tool, issued by the model in evaluation of a configured function tool, that represents a function invocation needed for a subsequent chat completions request to resolve.

Extends

Properties

function

The details of the function invocation requested by the tool call.

type

The type of tool call, in this case always 'function'.

Inherited Properties

id

The ID of the tool call.

index

The index of the tool call.

Property Details

function

The details of the function invocation requested by the tool call.

function: FunctionCall

Property Value

type

The type of tool call, in this case always 'function'.

type: "function"

Property Value

"function"

Inherited Property Details

id

The ID of the tool call.

id: string

Property Value

string

Inherited From ChatCompletionsToolCall.id

index

The index of the tool call.

index?: number

Property Value

number

Inherited From ChatCompletionsToolCall.index