OutputItemMcpCallBuilder 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 an MCP tool call output item. Provides methods for lifecycle events and streaming arguments.
public class OutputItemMcpCallBuilder : Azure.AI.AgentServer.Responses.OutputItemBuilder<Azure.AI.AgentServer.Responses.Models.OutputItemMcpToolCall>
type OutputItemMcpCallBuilder = class
inherit OutputItemBuilder<OutputItemMcpToolCall>
Public Class OutputItemMcpCallBuilder
Inherits OutputItemBuilder(Of OutputItemMcpToolCall)
- Inheritance
Constructors
| Name | Description |
|---|---|
| OutputItemMcpCallBuilder() |
Initializes a new instance of OutputItemMcpCallBuilder for mocking. |
Properties
| Name | Description |
|---|---|
| ItemId |
The auto-generated item ID for this output item. (Inherited from OutputItemBuilder<T>) |
| Name |
The MCP tool name. |
| OutputIndex |
The output index assigned to this output item. (Inherited from OutputItemBuilder<T>) |
| ServerLabel |
The MCP server label. |
Methods
| Name | Description |
|---|---|
| Arguments(IAsyncEnumerable<String>, CancellationToken) |
Convenience generator that yields the complete arguments sub-item event sequence from streaming chunks (S-053, streaming mode per S-054). Each chunk is emitted as a delta immediately (S-055). |
| Arguments(String) |
Convenience generator that yields the complete arguments sub-item event sequence from a single string (S-053, complete-text mode per S-054). |
| EmitAdded() |
Produces a |
| EmitAdded(T) |
Produces a |
| EmitArgumentsDelta(String) |
Produces a |
| EmitArgumentsDone(String) |
Produces a |
| EmitCompleted() |
Produces a |
| EmitDone() |
Produces a |
| EmitDone(T) |
Produces a |
| EmitFailed() |
Produces a |
| EmitInProgress() |
Produces a |