ChatCompletionsToolCall interface

An abstract representation of a tool call that must be resolved in a subsequent request to perform the requested chat completion.

Properties

id

The ID of the tool call.

index

The index of the tool call.

type

the discriminator possible values: function

Property Details

id

The ID of the tool call.

id: string

Property Value

string

index

The index of the tool call.

index?: number

Property Value

number

type

the discriminator possible values: function

type: string

Property Value

string