OutputItemCustomToolCallBuilder Class
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.
Scoped builder for a custom tool call output item. Provides methods for lifecycle events and streaming input deltas.
public class OutputItemCustomToolCallBuilder : Azure.AI.AgentServer.Responses.OutputItemBuilder<Azure.AI.AgentServer.Responses.Models.OutputItemCustomToolCall>
type OutputItemCustomToolCallBuilder = class
inherit OutputItemBuilder<OutputItemCustomToolCall>
Public Class OutputItemCustomToolCallBuilder
Inherits OutputItemBuilder(Of OutputItemCustomToolCall)
- Inheritance
Constructors
| Name | Description |
|---|---|
| OutputItemCustomToolCallBuilder() |
Initializes a new instance of OutputItemCustomToolCallBuilder for mocking. |
Properties
| Name | Description |
|---|---|
| CallId |
The call ID for this custom tool call. |
| ItemId |
The auto-generated item ID for this output item. (Inherited from OutputItemBuilder<T>) |
| Name |
The tool name. |
| OutputIndex |
The output index assigned to this output item. (Inherited from OutputItemBuilder<T>) |
Methods
| Name | Description |
|---|---|
| EmitAdded() |
Produces a |
| EmitAdded(T) |
Produces a |
| EmitDone() |
Produces a |
| EmitDone(T) |
Produces a |
| EmitInputDelta(String) |
Produces a |
| EmitInputDone(String) |
Produces a |
| Input(IAsyncEnumerable<String>, CancellationToken) |
Convenience generator that streams input chunks as real-time delta events followed by a done event with the accumulated input. |
| Input(String) |
Convenience generator that emits a complete input as delta → done events. |