ResponseEventStream.AddOutputItemCustomToolCall(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.