StreamingToolCallUpdate.ToolCallIndex Property

Definition

Gets the tool call index associated with this StreamingToolCallUpdate.

public int ToolCallIndex { get; }
member this.ToolCallIndex : int
Public ReadOnly Property ToolCallIndex As Integer

Property Value

Remarks

Corresponds to e.g. $.choices[0].delta.tool_calls[0].index in the REST API schema.

This value appears on every streaming tool call update. When multiple tool calls occur within the same streaming chat choice, this index specifies which tool call that this update contains new information for.

Applies to