ItemMcpListTools(String, String, IEnumerable<MCPListToolsTool>) Constructor

Definition

Initializes a new instance of ItemMcpListTools.

public ItemMcpListTools(string id, string serverLabel, System.Collections.Generic.IEnumerable<Azure.AI.AgentServer.Responses.Models.MCPListToolsTool> tools);
new Azure.AI.AgentServer.Responses.Models.ItemMcpListTools : string * string * seq<Azure.AI.AgentServer.Responses.Models.MCPListToolsTool> -> Azure.AI.AgentServer.Responses.Models.ItemMcpListTools
Public Sub New (id As String, serverLabel As String, tools As IEnumerable(Of MCPListToolsTool))

Parameters

id
String

The unique ID of the list.

serverLabel
String

The label of the MCP server.

tools
IEnumerable<MCPListToolsTool>

The tools available on the server.

Exceptions

id, serverLabel or tools is null.

Applies to