McpServerKnowledgeSourceParameters Constructor

Definition

Initializes a new instance of McpServerKnowledgeSourceParameters.

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

Parameters

serverURL
String

The URL of the MCP server endpoint.

tools
IEnumerable<McpServerTool>

The list of tools to invoke on the MCP server.

Exceptions

serverURL or tools is null.

Applies to