Table of Contents

Property Tools

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

Tools

Gets the cached tool list returned by tools/list. If not yet fetched, this property synchronously fetches the list (blocking the current thread). Prefer using GetToolsAsync(CancellationToken) for asynchronous code paths.

public IReadOnlyCollection<McpTool> Tools { get; }

Property Value

IReadOnlyCollection<McpTool>

Remarks

The first access may perform network I/O via tools/list, and subsequent accesses return the cached list. Use RefreshToolsAsync(CancellationToken) to force a refresh.