ResponseEventStream.AddOutputItemMcpListTools(String) Method

Definition

Creates an MCP list-tools output item scope with the next output index and an auto-generated item ID.

public virtual Azure.AI.AgentServer.Responses.OutputItemMcpListToolsBuilder AddOutputItemMcpListTools(string serverLabel);
abstract member AddOutputItemMcpListTools : string -> Azure.AI.AgentServer.Responses.OutputItemMcpListToolsBuilder
override this.AddOutputItemMcpListTools : string -> Azure.AI.AgentServer.Responses.OutputItemMcpListToolsBuilder
Public Overridable Function AddOutputItemMcpListTools (serverLabel As String) As OutputItemMcpListToolsBuilder

Parameters

serverLabel
String

The MCP server label.

Returns

A new OutputItemMcpListToolsBuilder for the MCP list-tools output item.

Applies to