parent
85cefc23ff
commit
c9ace236a0
1 changed files with 864 additions and 274 deletions
15
src/mcpdotnet/Protocol/Types/ListPromptsResult.cs
Normal file
15
src/mcpdotnet/Protocol/Types/ListPromptsResult.cs
Normal 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();
|
||||
}
|
||||
Loading…
Reference in a new issue