Resource
data class Resource(val uri: String, val name: String, val description: String? = null, val mimeType: String? = null, val size: Long? = null, val title: String? = null, val annotations: Annotations? = null, val icons: List<Icon>? = null, val meta: JsonObject? = null) : ResourceLike(source)
A known resource that the server is capable of reading.
Resources represent data sources such as files, database entries, API responses, or other structured data that can be read by clients.
Constructors
Properties
Link copied to clipboard
Link copied to clipboard
Optional annotations for the client. Provides additional metadata and hints about how to use or display this resource.
Link copied to clipboard
A description of what this resource represents. Clients can use this to improve the LLM's understanding of available resources. It can be thought of like a "hint" to the model.
Link copied to clipboard
Optional metadata for this resource.