Table of Contents

Method GetToolsAsync

Namespace
LMKit.Mcp.Client
Assembly
LM-Kit.NET.dll

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

cancellationToken CancellationToken

Returns

Task<IReadOnlyCollection<McpTool>>