ItemMcpListTools(String, String, IEnumerable<MCPListToolsTool>) Constructor
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.
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.