Condividi tramite


McpToolServerConfigurationService.ListToolServersAsync(String, String) Method

Definition

Gets the list of MCP Servers that are configured for the agent.

public System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.Agents.A365.Tooling.Models.MCPServerConfig>> ListToolServersAsync(string agentInstanceId, string authToken);
abstract member ListToolServersAsync : string * string -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.Agents.A365.Tooling.Models.MCPServerConfig>>
override this.ListToolServersAsync : string * string -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.Agents.A365.Tooling.Models.MCPServerConfig>>
Public Function ListToolServersAsync (agentInstanceId As String, authToken As String) As Task(Of List(Of MCPServerConfig))

Parameters

agentInstanceId
String

Agent Instance Id for the agent.

authToken
String

Auth token to access the MCP servers

Returns

Returns the list of MCP Servers that are configured.

Implements

Applies to