Uses of Enum Class
dev.langchain4j.mcp.client.McpRole
Packages that use McpRole
-
Uses of McpRole in dev.langchain4j.mcp.client
Methods in dev.langchain4j.mcp.client that return McpRoleModifier and TypeMethodDescriptionstatic McpRole
McpRole.fromString
(String key) McpPromptMessage.role()
Returns the value of therole
record component.static McpRole
Returns the enum constant of this class with the specified name.static McpRole[]
McpRole.values()
Returns an array containing the constants of this enum class, in the order they are declared.Constructors in dev.langchain4j.mcp.client with parameters of type McpRoleModifierConstructorDescriptionMcpPromptMessage
(McpRole role, McpPromptContent content) Creates an instance of aMcpPromptMessage
record class.