Uses of Record Class
io.modelcontextprotocol.spec.McpSchema.Annotations
Packages that use McpSchema.Annotations
-
Uses of McpSchema.Annotations in io.modelcontextprotocol.spec
Methods in io.modelcontextprotocol.spec that return McpSchema.AnnotationsModifier and TypeMethodDescriptionMcpSchema.Annotated.annotations()McpSchema.AudioContent.annotations()Returns the value of theannotationsrecord component.McpSchema.EmbeddedResource.annotations()Returns the value of theannotationsrecord component.McpSchema.ImageContent.annotations()Returns the value of theannotationsrecord component.McpSchema.Resource.annotations()Returns the value of theannotationsrecord component.McpSchema.ResourceContent.annotations()McpSchema.ResourceLink.annotations()Returns the value of theannotationsrecord component.McpSchema.ResourceTemplate.annotations()Returns the value of theannotationsrecord component.McpSchema.TextContent.annotations()Returns the value of theannotationsrecord component.Methods in io.modelcontextprotocol.spec with parameters of type McpSchema.AnnotationsModifier and TypeMethodDescriptionMcpSchema.Resource.Builder.annotations(McpSchema.Annotations annotations) McpSchema.ResourceLink.Builder.annotations(McpSchema.Annotations annotations) Constructors in io.modelcontextprotocol.spec with parameters of type McpSchema.AnnotationsModifierConstructorDescriptionAudioContent(McpSchema.Annotations annotations, String data, String mimeType) AudioContent(McpSchema.Annotations annotations, String data, String mimeType, Map<String, Object> meta) Creates an instance of aAudioContentrecord class.EmbeddedResource(McpSchema.Annotations annotations, McpSchema.ResourceContents resource) EmbeddedResource(McpSchema.Annotations annotations, McpSchema.ResourceContents resource, Map<String, Object> meta) Creates an instance of aEmbeddedResourcerecord class.ImageContent(McpSchema.Annotations annotations, String data, String mimeType) ImageContent(McpSchema.Annotations annotations, String data, String mimeType, Map<String, Object> meta) Creates an instance of aImageContentrecord class.Resource(String uri, String name, String description, String mimeType, McpSchema.Annotations annotations) Deprecated.Only exists for backwards-compatibility purposes.Resource(String uri, String name, String description, String mimeType, Long size, McpSchema.Annotations annotations) Deprecated.Only exists for backwards-compatibility purposes.Resource(String uri, String name, String title, String description, String mimeType, Long size, McpSchema.Annotations annotations) Deprecated.Only exists for backwards-compatibility purposes.Resource(String uri, String name, String title, String description, String mimeType, Long size, McpSchema.Annotations annotations, Map<String, Object> meta) Creates an instance of aResourcerecord class.ResourceLink(String name, String uri, String description, String mimeType, Long size, McpSchema.Annotations annotations) Deprecated.Only exists for backwards-compatibility purposes.ResourceLink(String name, String title, String uri, String description, String mimeType, Long size, McpSchema.Annotations annotations) Deprecated.Only exists for backwards-compatibility purposes.ResourceLink(String name, String title, String uri, String description, String mimeType, Long size, McpSchema.Annotations annotations, Map<String, Object> meta) Creates an instance of aResourceLinkrecord class.ResourceTemplate(String uriTemplate, String name, String description, String mimeType, McpSchema.Annotations annotations) ResourceTemplate(String uriTemplate, String name, String title, String description, String mimeType, McpSchema.Annotations annotations) ResourceTemplate(String uriTemplate, String name, String title, String description, String mimeType, McpSchema.Annotations annotations, Map<String, Object> meta) Creates an instance of aResourceTemplaterecord class.TextContent(McpSchema.Annotations annotations, String text) TextContent(McpSchema.Annotations annotations, String text, Map<String, Object> meta) Creates an instance of aTextContentrecord class.