ResponseEventStream.AddOutputItemMcpListTools(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 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.