Table of Contents

Method RefreshPrompts

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

RefreshPrompts(CancellationToken)

Clears the cached prompt catalog and fetches a fresh copy (blocking wrapper).

public IReadOnlyCollection<McpPrompt> RefreshPrompts(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A token to cancel the operation.

Returns

IReadOnlyCollection<McpPrompt>

The refreshed prompt catalog.