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

Properties

id?: string

The ID of the tool call.

index: number
type?: "function"

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