IMcpToolServerConfigurationService.GetMcpClientToolsAsync 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.
Gets the MCP Client Tools from the specified MCP server.
public System.Threading.Tasks.Task<System.Collections.Generic.IList<ModelContextProtocol.Client.McpClientTool>> GetMcpClientToolsAsync(Microsoft.Agents.Builder.ITurnContext turnContext, Microsoft.Agents.A365.Tooling.Models.MCPServerConfig mCPServerConfig, string authToken);
abstract member GetMcpClientToolsAsync : Microsoft.Agents.Builder.ITurnContext * Microsoft.Agents.A365.Tooling.Models.MCPServerConfig * string -> System.Threading.Tasks.Task<System.Collections.Generic.IList<ModelContextProtocol.Client.McpClientTool>>
Public Function GetMcpClientToolsAsync (turnContext As ITurnContext, mCPServerConfig As MCPServerConfig, authToken As String) As Task(Of IList(Of McpClientTool))
Parameters
- turnContext
- ITurnContext
The turn context.
- mCPServerConfig
- MCPServerConfig
The MCP server configuration.
- authToken
- String
The authentication token.
Returns
MCP Client Tools