Package io.modelcontextprotocol.spec
Interface McpSchema.ResourceContent
- All Superinterfaces:
McpSchema.Annotated,McpSchema.Identifier,McpSchema.Meta
- All Known Implementing Classes:
McpSchema.Resource,McpSchema.ResourceLink
- Enclosing class:
- McpSchema
public static interface McpSchema.ResourceContent
extends McpSchema.Identifier, McpSchema.Annotated, McpSchema.Meta
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.-
Method Summary
Methods inherited from interface io.modelcontextprotocol.spec.McpSchema.Annotated
annotationsMethods inherited from interface io.modelcontextprotocol.spec.McpSchema.Identifier
name, titleMethods inherited from interface io.modelcontextprotocol.spec.McpSchema.Meta
meta