| Package | Description |
|---|---|
| io.modelcontextprotocol.spec |
| Modifier and Type | Method and Description |
|---|---|
static McpSchema.CreateMessageRequest.ContextInclusionStrategy |
McpSchema.CreateMessageRequest.ContextInclusionStrategy.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static McpSchema.CreateMessageRequest.ContextInclusionStrategy[] |
McpSchema.CreateMessageRequest.ContextInclusionStrategy.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
McpSchema.CreateMessageRequest.Builder |
McpSchema.CreateMessageRequest.Builder.includeContext(McpSchema.CreateMessageRequest.ContextInclusionStrategy includeContext) |
| Constructor and Description |
|---|
CreateMessageRequest(List<McpSchema.SamplingMessage> messages,
McpSchema.ModelPreferences modelPreferences,
String systemPrompt,
McpSchema.CreateMessageRequest.ContextInclusionStrategy includeContext,
Double temperature,
int maxTokens,
List<String> stopSequences,
Map<String,Object> metadata) |
Copyright © 2025. All rights reserved.