SearchModelFactory.McpServerKnowledgeSourceParameters Method

Definition

Parameters for an MCP server knowledge source.

public static Azure.Search.Documents.Indexes.Models.McpServerKnowledgeSourceParameters McpServerKnowledgeSourceParameters(string serverURL = default, Azure.Search.Documents.Indexes.Models.McpServerAuthentication authentication = default, System.Collections.Generic.IEnumerable<Azure.Search.Documents.Indexes.Models.McpServerTool> tools = default);
static member McpServerKnowledgeSourceParameters : string * Azure.Search.Documents.Indexes.Models.McpServerAuthentication * seq<Azure.Search.Documents.Indexes.Models.McpServerTool> -> Azure.Search.Documents.Indexes.Models.McpServerKnowledgeSourceParameters
Public Shared Function McpServerKnowledgeSourceParameters (Optional serverURL As String = Nothing, Optional authentication As McpServerAuthentication = Nothing, Optional tools As IEnumerable(Of McpServerTool) = Nothing) As McpServerKnowledgeSourceParameters

Parameters

serverURL
String

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.

Applies to