Table of Contents

Method ListPromptsAsync

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

ListPromptsAsync(McpRequestContext, CancellationToken)

Lists the available prompts.

Task<IReadOnlyList<McpPrompt>> ListPromptsAsync(McpRequestContext context, CancellationToken cancellationToken = default)

Parameters

context McpRequestContext

Session and caller identity, used to scope visibility.

cancellationToken CancellationToken

A token to observe while listing.

Returns

Task<IReadOnlyList<McpPrompt>>
Share