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