Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c35e896

Browse filesBrowse files
roterskitzolov
authored andcommitted
Fix CreateMessageRequest includeContext enum values to match MCP specification
1 parent 34a7335 commit c35e896
Copy full SHA for c35e896

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Collapse file

‎mcp/src/main/java/io/modelcontextprotocol/spec/McpSchema.java‎

Copy file name to clipboardExpand all lines: mcp/src/main/java/io/modelcontextprotocol/spec/McpSchema.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -796,8 +796,8 @@ public record CreateMessageRequest(// @formatter:off
796796

797797
public enum ContextInclusionStrategy {
798798
@JsonProperty("none") NONE,
799-
@JsonProperty("this_server") THIS_SERVER,
800-
@JsonProperty("all_server") ALL_SERVERS
799+
@JsonProperty("thisServer") THIS_SERVER,
800+
@JsonProperty("allServers") ALL_SERVERS
801801
}
802802
}// @formatter:on
803803

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.