ResourceLink
data class ResourceLink(val name: String, val uri: String, val title: String? = null, val size: Long? = null, val mimeType: String? = null, val icons: List<Icon>? = null, val description: String? = null, val annotations: Annotations? = null, val meta: JsonObject? = null) : ContentBlock, ResourceLike(source)
A resource that the server is capable of reading, included in a prompt or tool call result.
Note: resource links returned by tools are not guaranteed to appear in the results of resources/list requests.
Constructors
Link copied to clipboard
constructor(name: String, uri: String, title: String? = null, size: Long? = null, mimeType: String? = null, icons: List<Icon>? = null, description: String? = null, annotations: Annotations? = null, meta: JsonObject? = null)
Properties
Link copied to clipboard
Link copied to clipboard
Optional annotations for the client.
Link copied to clipboard
A description of what this resource represents.
Link copied to clipboard
property/parameter is reserved by MCP to allow clients and servers to attach additional metadata to their interactions.
Link copied to clipboard