Interface Guardrail.Message

All Known Implementing Classes:
Guardrail.Message.AiMessage, Guardrail.Message.ToolCallResponse, Guardrail.Message.UserMessage
Enclosing interface:
Guardrail

public static sealed interface Guardrail.Message permits Guardrail.Message.UserMessage, Guardrail.Message.AiMessage, Guardrail.Message.ToolCallResponse
A message in the conversation a guardrail inspects, carrying its origin: what the user said, what the model replied (and which tools it requested), and what a tool returned.