- Namespace
- ModelContextProtocol.Protocol
- Assembly
- ModelContextProtocol.Core.dll
Represents a server's response to a PromptsGet request from the client.
public sealed class GetPromptResult : Result
- Inheritance
-
GetPromptResult
- Inherited Members
- Extension Methods
Properties
Description
Gets or sets an optional description for the prompt.
[JsonPropertyName("description")]
public string? Description { get; set; }
Property Value
Messages
Gets or sets the prompt that the server offers.
[JsonPropertyName("messages")]
public IList<PromptMessage> Messages { get; set; }