Uses of Interface
dev.tachyonmcp.api.server.domain.Annotations
Packages that use Annotations
Package
Description
Domain types for MCP protocol data structures.
Resource feature types and function interfaces.
Generated JSON-RPC codecs for the MCP 2025-11-25 protocol version.
-
Uses of Annotations in dev.tachyonmcp.api.server.domain
Methods in dev.tachyonmcp.api.server.domain that return AnnotationsModifier and TypeMethodDescription@Nullable AnnotationsAudioContent.annotations()Returns the annotations for this content, ornullif none.@Nullable AnnotationsEmbeddedResource.annotations()@Nullable AnnotationsImageContent.annotations()Returns the annotations for this content, ornullif none.@Nullable AnnotationsResourceLink.annotations()@Nullable AnnotationsTextContent.annotations()Annotations.Builder.build()Builds the annotations.static AnnotationsAnnotations.of(@Nullable List<Role> audience, @Nullable Double priority, @Nullable String lastModified) Creates annotations with the given values.Methods in dev.tachyonmcp.api.server.domain with parameters of type AnnotationsModifier and TypeMethodDescriptionAudioContent.Builder.annotations(@Nullable Annotations annotations) Sets the annotations.EmbeddedResource.Builder.annotations(@Nullable Annotations annotations) ImageContent.Builder.annotations(@Nullable Annotations annotations) Sets the annotations.ResourceLink.Builder.annotations(@Nullable Annotations annotations) TextContent.Builder.annotations(@Nullable Annotations annotations) static AudioContentAudioContent.base64(String data, String mimeType, @Nullable Annotations annotations) Creates an audio content block with given annotations and no metadata.static AudioContentAudioContent.base64(String data, String mimeType, @Nullable Annotations annotations, @Nullable Map<String, Object> meta) Creates an audio content block with metadata and optional annotations.static ImageContentImageContent.base64(String data, String mimeType, @Nullable Annotations annotations) Creates an image content block from base64-encoded data with given annotations and no metadata.static ImageContentImageContent.base64(String data, String mimeType, @Nullable Annotations annotations, @Nullable Map<String, Object> meta) Creates an image content block from base64-encoded data with metadata and optional annotations.static AudioContentAudioContent.of(String data, String mimeType, @Nullable Annotations annotations) Deprecated, for removal: This API element is subject to removal in a future version.static AudioContentAudioContent.of(String data, String mimeType, @Nullable Annotations annotations, @Nullable Map<String, Object> meta) Deprecated, for removal: This API element is subject to removal in a future version.static EmbeddedResourceEmbeddedResource.of(ResourceContents resource, @Nullable Annotations annotations) Creates an embedded resource with given annotations and no metadata.static EmbeddedResourceEmbeddedResource.of(ResourceContents resource, @Nullable Annotations annotations, @Nullable Map<String, Object> meta) Creates an embedded resource with metadata and optional annotations.static ImageContentImageContent.of(String data, String mimeType, @Nullable Annotations annotations) Deprecated, for removal: This API element is subject to removal in a future version.static ImageContentImageContent.of(String data, String mimeType, @Nullable Annotations annotations, @Nullable Map<String, Object> meta) Deprecated, for removal: This API element is subject to removal in a future version.static TextContentTextContent.of(String text, @Nullable Annotations annotations) Creates a text content block with given annotations and no metadata.static TextContentCreates a text content block with metadata and optional annotations. -
Uses of Annotations in dev.tachyonmcp.api.server.features.resources
Methods in dev.tachyonmcp.api.server.features.resources that return AnnotationsModifier and TypeMethodDescription@Nullable AnnotationsResourceDescriptor.annotations()Optional annotations for this resource.@Nullable AnnotationsResourceTemplateDescriptor.annotations()Optional annotations shared by resources matching this template.Methods in dev.tachyonmcp.api.server.features.resources with parameters of type AnnotationsModifier and TypeMethodDescriptionResourceDescriptor.Builder.annotations(@Nullable Annotations annotations) ResourceTemplateDescriptor.Builder.annotations(@Nullable Annotations annotations) Sets the optional annotations shared by resources matching this template.static ResourceDescriptorResourceDescriptor.of(String name, String uri, @Nullable String description, @Nullable String mimeType, @Nullable String title, @Nullable Annotations annotations, @Nullable Long size, @Nullable List<Icon> icons) Creates a fully specified resource descriptor.static ResourceTemplateDescriptorResourceTemplateDescriptor.of(String name, String uriTemplate, @Nullable String description, @Nullable String mimeType, @Nullable String title, @Nullable Annotations annotations, @Nullable List<Icon> icons, @Nullable String extensionId) Deprecated. -
Uses of Annotations in dev.tachyonmcp.core.protocol.mcp.v2025_11_25.codecs
Methods in dev.tachyonmcp.core.protocol.mcp.v2025_11_25.codecs with parameters of type AnnotationsModifier and TypeMethodDescriptionstatic AnnotationsContentBlockMappers.toProtocolAnnotations(Annotations domain) Maps domain annotations to the protocol shape.
AudioContent.base64(String, String, Annotations)