Resource capability (#5)

Prompt capability
Pagination support
This commit is contained in:
Peder Holdgaard Pedersen 2025-01-04 19:39:22 +01:00 • committed by GitHub
commit c9ace236a0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1,15 @@
using McpDotNet.Protocol.Messages;
namespace McpDotNet.Protocol.Types;
/// <summary>
/// The server's response to a prompts/list request from the client.
/// <see href="https://github.com/modelcontextprotocol/specification/blob/main/schema/schema.json">See the schema for details</see>
/// </summary>
public class ListPromptsResult : PaginatedResult
{
/// <summary>
/// A list of prompts or prompt templates that the server offers.
/// </summary>
public List<Prompt> Prompts { get; set; } = new();
}