public static interface McpSchema.ResourceContent extends McpSchema.BaseMetadata
McpSchema.Resource
and McpSchema.ResourceLink
to
provide a consistent way to access resource metadata.限定符和类型 | 方法和说明 |
---|---|
McpSchema.Annotations |
getAnnotations() |
java.lang.String |
getDescription() |
java.lang.String |
getMimeType() |
java.lang.Long |
getSize() |
java.lang.String |
getUri() |
getName, getTitle
java.lang.String getUri()
java.lang.String getDescription()
java.lang.String getMimeType()
java.lang.Long getSize()
McpSchema.Annotations getAnnotations()