Class GetPromptResult
- Namespace
- ModelContextProtocol.Protocol.Types
- Assembly
- ModelContextProtocol.dll
The server's response to a prompts/get request from the client. See the schema for details
public class GetPromptResult
- Inheritance
-
GetPromptResult
- Inherited Members
- Extension Methods
Properties
Description
An optional description for the prompt.
[JsonPropertyName("description")]
public string? Description { get; set; }
Property Value
Messages
The prompt or prompt template that the server offers.
[JsonPropertyName("messages")]
public List<PromptMessage> Messages { get; set; }