Package org.mcpjava.server.prompts
Interface PromptMessage
public interface PromptMessage
A single message within a prompt.
A message consists of the message content, plus the role of the sender of the message.
-
Method Details
-
role
Role role()The message sender- Returns:
- the role of the message sender
-
content
ContentBlock content()The message content- Returns:
- the message content
-