Class McpContentAnnotations
java.lang.Object
com.soklet.McpContentAnnotations
Immutable optional annotations for an MCP content block.
The annotation vocabulary follows the selected MCP revision and may gain fields in a future supported profile. Applications should ignore annotation data they do not use rather than treating today's fields as a permanent closed set.
- Author:
- Mark Allen
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classMutable builder for immutableMcpContentAnnotations. -
Method Summary
-
Method Details
-
builder
- Returns:
- an empty content-annotation builder
-
getAudience
- Returns:
- immutable intended audience
-
getPriority
- Returns:
- priority in the inclusive range
0.0..1.0, if set
-
getLastModified
- Returns:
- last-modified instant, if set
-
equals
-
hashCode
-