Type

role

Role in a conversation.

Maps to the Role type in the MCP spec: "The sender or recipient of messages and data in a conversation." Valid values: "user" | "assistant"

See: https://modelcontextprotocol.io/specification/2025-06-18/schema#role

type role = role;