@@ -490,13 +490,15 @@ public record ServerCapabilities( // @formatter:off
490490 * Present if the server supports argument autocompletion suggestions.
491491 */
492492 @ JsonInclude (JsonInclude .Include .NON_ABSENT )
493+ @ JsonIgnoreProperties (ignoreUnknown = true )
493494 public record CompletionCapabilities () {
494495 }
495496
496497 /**
497498 * Present if the server supports sending log messages to the client.
498499 */
499500 @ JsonInclude (JsonInclude .Include .NON_ABSENT )
501+ @ JsonIgnoreProperties (ignoreUnknown = true )
500502 public record LoggingCapabilities () {
501503 }
502504
@@ -507,6 +509,7 @@ public record LoggingCapabilities() {
507509 * the prompt list
508510 */
509511 @ JsonInclude (JsonInclude .Include .NON_ABSENT )
512+ @ JsonIgnoreProperties (ignoreUnknown = true )
510513 public record PromptCapabilities (@ JsonProperty ("listChanged" ) Boolean listChanged ) {
511514 }
512515
@@ -518,6 +521,7 @@ public record PromptCapabilities(@JsonProperty("listChanged") Boolean listChange
518521 * the resource list
519522 */
520523 @ JsonInclude (JsonInclude .Include .NON_ABSENT )
524+ @ JsonIgnoreProperties (ignoreUnknown = true )
521525 public record ResourceCapabilities (@ JsonProperty ("subscribe" ) Boolean subscribe ,
522526 @ JsonProperty ("listChanged" ) Boolean listChanged ) {
523527 }
@@ -529,6 +533,7 @@ public record ResourceCapabilities(@JsonProperty("subscribe") Boolean subscribe,
529533 * the tool list
530534 */
531535 @ JsonInclude (JsonInclude .Include .NON_ABSENT )
536+ @ JsonIgnoreProperties (ignoreUnknown = true )
532537 public record ToolCapabilities (@ JsonProperty ("listChanged" ) Boolean listChanged ) {
533538 }
534539
0 commit comments