SearchModelFactory.KnowledgeBaseMcpServerReference Method

Definition

Represents an MCP server document reference.

public static Azure.Search.Documents.KnowledgeBases.Models.KnowledgeBaseMcpServerReference KnowledgeBaseMcpServerReference(string id = default, int activitySource = 0, System.Collections.Generic.IDictionary<string,BinaryData> sourceData = default, float? rerankerScore = default, string toolName = default, string title = default);
static member KnowledgeBaseMcpServerReference : string * int * System.Collections.Generic.IDictionary<string, BinaryData> * Nullable<single> * string * string -> Azure.Search.Documents.KnowledgeBases.Models.KnowledgeBaseMcpServerReference
Public Shared Function KnowledgeBaseMcpServerReference (Optional id As String = Nothing, Optional activitySource As Integer = 0, Optional sourceData As IDictionary(Of String, BinaryData) = Nothing, Optional rerankerScore As Nullable(Of Single) = Nothing, Optional toolName As String = Nothing, Optional title As String = Nothing) As KnowledgeBaseMcpServerReference

Parameters

id
String

The ID of the reference.

activitySource
Int32

The source activity ID for the reference.

sourceData
IDictionary<String,BinaryData>

The source data for the reference.

rerankerScore
Nullable<Single>

The reranker score for the document reference.

toolName
String

The name of the MCP server tool that produced the reference.

title
String

The title of the MCP server tool result.

Returns

A new KnowledgeBaseMcpServerReference instance for mocking.

Applies to