| Package | Description |
|---|---|
| io.modelcontextprotocol.spec |
| Modifier and Type | Method and Description |
|---|---|
McpSchema.Annotations |
McpSchema.Annotated.getAnnotations() |
McpSchema.Annotations |
McpSchema.ResourceContent.getAnnotations() |
| Modifier and Type | Method and Description |
|---|---|
McpSchema.Resource.Builder |
McpSchema.Resource.Builder.annotations(McpSchema.Annotations annotations) |
McpSchema.ResourceLink.Builder |
McpSchema.ResourceLink.Builder.annotations(McpSchema.Annotations annotations) |
| Constructor and Description |
|---|
AudioContent(McpSchema.Annotations annotations,
String data,
String mimeType) |
EmbeddedResource(McpSchema.Annotations annotations,
McpSchema.ResourceContents resource) |
ImageContent(McpSchema.Annotations annotations,
String data,
String mimeType) |
ResourceLink(String name,
String uri,
String description,
String mimeType,
Long size,
McpSchema.Annotations annotations)
Deprecated.
Only exists for backwards-compatibility purposes. Use
ResourceLink#ResourceLink(String, String, String, String, String, Long, Annotations)
instead. |
ResourceLink(String name,
String title,
String uri,
String description,
String mimeType,
Long size,
McpSchema.Annotations annotations)
Deprecated.
Only exists for backwards-compatibility purposes. Use
ResourceLink#ResourceLink(String, String, String, String, String, Long, Annotations)
instead. |
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) |
TextContent(McpSchema.Annotations annotations,
String text) |
Copyright © 2025. All rights reserved.