We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d327fff commit a90b922Copy full SHA for a90b922
mcp-core/src/main/java/io/modelcontextprotocol/spec/McpSchema.java
@@ -653,7 +653,13 @@ public interface Annotated {
653
@JsonIgnoreProperties(ignoreUnknown = true)
654
public record Annotations( // @formatter:off
655
@JsonProperty("audience") List<Role> audience,
656
- @JsonProperty("priority") Double priority) { // @formatter:on
+ @JsonProperty("priority") Double priority,
657
+ @JsonProperty("lastModified") String lastModified
658
+ ) { // @formatter:on
659
+
660
+ public Annotations(List<Role> audience, Double priority) {
661
+ this(audience, priority, null);
662
+ }
663
}
664
665
/**
0 commit comments