Method GetToolsAsync
GetToolsAsync(CancellationToken)
Retrieves and caches the server’s tool catalog via tools/list.
Concurrent callers share the same underlying fetch task.
public Task<IReadOnlyCollection<McpTool>> GetToolsAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationToken