Method RefreshPrompts
RefreshPrompts(CancellationToken)
Clears the cached prompt catalog and fetches a fresh copy (blocking wrapper).
public IReadOnlyCollection<McpPrompt> RefreshPrompts(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenA token to cancel the operation.
Returns
- IReadOnlyCollection<McpPrompt>
The refreshed prompt catalog.