McpServerKnowledgeSourceParameters 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 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.