ResponseEventStream.AddOutputItemCustomToolCall(String, String) Method

Definition

Creates a custom tool call output item scope with the next output index and an auto-generated item ID.

public virtual Azure.AI.AgentServer.Responses.OutputItemCustomToolCallBuilder AddOutputItemCustomToolCall(string callId, string name);
abstract member AddOutputItemCustomToolCall : string * string -> Azure.AI.AgentServer.Responses.OutputItemCustomToolCallBuilder
override this.AddOutputItemCustomToolCall : string * string -> Azure.AI.AgentServer.Responses.OutputItemCustomToolCallBuilder
Public Overridable Function AddOutputItemCustomToolCall (callId As String, name As String) As OutputItemCustomToolCallBuilder

Parameters

callId
String

The call ID for the custom tool call.

name
String

The tool name.

Returns

A new OutputItemCustomToolCallBuilder for the custom tool call output item.

Applies to