ChatCompletionsToolCall interface

A function tool call requested by the AI model.

Properties

function

The details of the function call requested by the AI model.

id

The ID of the tool call.

type

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

Property Details

function

The details of the function call requested by the AI model.

function: FunctionCall

Property Value

id

The ID of the tool call.

id: string

Property Value

string

type

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

type: "function"

Property Value

"function"