Język

McpServerKnowledgeSourceParameters Constructor

Definition

Initializes a new instance of McpServerKnowledgeSourceParameters.

public McpServerKnowledgeSourceParameters(Uri serverUri, System.Collections.Generic.IEnumerable<Azure.Search.Documents.Indexes.Models.McpServerTool> tools);
new Azure.Search.Documents.Indexes.Models.McpServerKnowledgeSourceParameters : Uri * seq<Azure.Search.Documents.Indexes.Models.McpServerTool> -> Azure.Search.Documents.Indexes.Models.McpServerKnowledgeSourceParameters
Public Sub New (serverUri As Uri, tools As IEnumerable(Of McpServerTool))

Parameters

serverUri
Uri

The URL of the MCP server endpoint.

tools
IEnumerable<McpServerTool>

The list of tools to invoke on the MCP server.

Exceptions

serverUri or tools is null.

Applies to