parent
85cefc23ff
commit
c9ace236a0
1 changed files with 864 additions and 274 deletions
18
src/mcpdotnet/Protocol/Types/GetPromptResult.cs
Normal file
18
src/mcpdotnet/Protocol/Types/GetPromptResult.cs
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
namespace McpDotNet.Protocol.Types;
|
||||
|
||||
/// <summary>
|
||||
/// The server's response to a prompts/get 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 GetPromptResult
|
||||
{
|
||||
/// <summary>
|
||||
/// An optional description for the prompt.
|
||||
/// </summary>
|
||||
public string? Description { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The prompt or prompt template that the server offers.
|
||||
/// </summary>
|
||||
public List<PromptMessage> Messages { get; set; } = new();
|
||||
}
|
||||
Loading…
Reference in a new issue