Interface McpSchema.ResourceContent

All Superinterfaces:
McpSchema.BaseMetadata
All Known Implementing Classes:
McpSchema.Resource, McpSchema.ResourceLink
Enclosing class:
McpSchema

public static interface McpSchema.ResourceContent extends McpSchema.BaseMetadata
A common interface for resource content, which includes metadata about the resource such as its URI, name, description, MIME type, size, and annotations. This interface is implemented by both McpSchema.Resource and McpSchema.ResourceLink to provide a consistent way to access resource metadata.