Skip to content

Commit c35e896

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: mcp/src/main/java/io/modelcontextprotocol/spec/McpSchema.java

+2-2
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)