SearchModelFactory.KnowledgeBaseMcpServerActivityArguments Method

Definition

Represents the arguments the MCP server retrieval activity was run with.

public static Azure.Search.Documents.KnowledgeBases.Models.KnowledgeBaseMcpServerActivityArguments KnowledgeBaseMcpServerActivityArguments(string toolName = default, System.Collections.Generic.IDictionary<string,BinaryData> toolArguments = default);
static member KnowledgeBaseMcpServerActivityArguments : string * System.Collections.Generic.IDictionary<string, BinaryData> -> Azure.Search.Documents.KnowledgeBases.Models.KnowledgeBaseMcpServerActivityArguments
Public Shared Function KnowledgeBaseMcpServerActivityArguments (Optional toolName As String = Nothing, Optional toolArguments As IDictionary(Of String, BinaryData) = Nothing) As KnowledgeBaseMcpServerActivityArguments

Parameters

toolName
String

The name of the MCP server tool used for the retrieval activity.

toolArguments
IDictionary<String,BinaryData>

The arguments passed to the MCP server tool.

Returns

A new KnowledgeBaseMcpServerActivityArguments instance for mocking.

Applies to