| Package | Description |
|---|---|
| io.modelcontextprotocol.spec |
| Modifier and Type | Method and Description |
|---|---|
static McpSchema.CreateMessageResult.StopReason |
McpSchema.CreateMessageResult.StopReason.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static McpSchema.CreateMessageResult.StopReason[] |
McpSchema.CreateMessageResult.StopReason.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.stopReason(McpSchema.CreateMessageResult.StopReason stopReason) |
| Constructor and Description |
|---|
CreateMessageResult(McpSchema.Role role,
McpSchema.Content content,
String model,
McpSchema.CreateMessageResult.StopReason stopReason) |
Copyright © 2025. All rights reserved.