interface ToolCall {
    index: number;
    function?: OpenAIClient.Chat.Completions.ChatCompletionChunk.Choice.Delta.ToolCall.Function;
    id?: string;
    type?: "function";
}

Properties

index: number
id?: string

The ID of the tool call.

type?: "function"

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