Represents a single message in a prompt template.
public class PromptMessageRepresents a single message in a prompt template.
Each message has a [role] (system, human/user, ai/assistant, tool, or a custom chat role) and a
[template] string that may contain {variable} placeholders for formatting.
For tool messages, [toolCallId] contains the ID of the tool call this is responding to. For chat
messages with custom roles, [customRole] contains the role string.