| Package | Description |
|---|---|
| io.modelcontextprotocol.spec |
| Modifier and Type | Method and Description |
|---|---|
static McpSchema.Role |
McpSchema.Role.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static McpSchema.Role[] |
McpSchema.Role.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
McpSchema.CreateMessageResult.Builder |
McpSchema.CreateMessageResult.Builder.role(McpSchema.Role role) |
Copyright © 2025. All rights reserved.