SearchModelFactory.McpServerKnowledgeSourceParameters Method
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.
Parameters for an MCP server knowledge source.
public static Azure.Search.Documents.Indexes.Models.McpServerKnowledgeSourceParameters McpServerKnowledgeSourceParameters(Uri serverUri = default, Azure.Search.Documents.Indexes.Models.McpServerAuthentication authentication = default, System.Collections.Generic.IEnumerable<Azure.Search.Documents.Indexes.Models.McpServerTool> tools = default);
static member McpServerKnowledgeSourceParameters : Uri * Azure.Search.Documents.Indexes.Models.McpServerAuthentication * seq<Azure.Search.Documents.Indexes.Models.McpServerTool> -> Azure.Search.Documents.Indexes.Models.McpServerKnowledgeSourceParameters
Public Shared Function McpServerKnowledgeSourceParameters (Optional serverUri As Uri = Nothing, Optional authentication As McpServerAuthentication = Nothing, Optional tools As IEnumerable(Of McpServerTool) = Nothing) As McpServerKnowledgeSourceParameters
Parameters
- serverUri
- Uri
The URL of the MCP server endpoint.
- authentication
- McpServerAuthentication
The authentication configuration for the MCP server.
- tools
- IEnumerable<McpServerTool>
The list of tools to invoke on the MCP server.
Returns
A new McpServerKnowledgeSourceParameters instance for mocking.