public static class McpSchema.EmbeddedResource extends Object implements McpSchema.Annotated, McpSchema.Content
| Constructor and Description |
|---|
EmbeddedResource(List<McpSchema.Role> audience,
Double priority,
McpSchema.ResourceContents resource)
Deprecated.
Only exists for backwards-compatibility purposes. Use
EmbeddedResource#EmbeddedResource(Annotations, ResourceContents)
instead. |
EmbeddedResource(McpSchema.Annotations annotations,
McpSchema.ResourceContents resource) |
| Modifier and Type | Method and Description |
|---|---|
List<McpSchema.Role> |
getAudience()
Deprecated.
Only exists for backwards-compatibility purposes. Use
McpSchema.Annotated.getAnnotations() instead. |
Double |
getPriority()
Deprecated.
Only exists for backwards-compatibility purposes. Use
McpSchema.Annotated.getAnnotations() instead. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAnnotationsgetMeta, typepublic EmbeddedResource(McpSchema.Annotations annotations, McpSchema.ResourceContents resource)
@Deprecated public EmbeddedResource(List<McpSchema.Role> audience, Double priority, McpSchema.ResourceContents resource)
EmbeddedResource#EmbeddedResource(Annotations, ResourceContents)
instead.@Deprecated public List<McpSchema.Role> getAudience()
McpSchema.Annotated.getAnnotations() instead.@Deprecated public Double getPriority()
McpSchema.Annotated.getAnnotations() instead.Copyright © 2025. All rights reserved.