ReadResourceResult
data class ReadResourceResult(val contents: List<ResourceContents>, val meta: JsonObject? = null) : ServerResult(source)
The server's response to a ReadResourceRequest from the client.
Contains the resource contents, which can be a mix of text and binary data. A single resource can return multiple content blocks if it contains multiple parts.
Properties
Link copied to clipboard
Link copied to clipboard
The contents of the resource. Can include text content (with MIME type and text data) or binary/blob content (with MIME type and Base64-encoded data). Multiple content blocks can be returned for resources with multiple parts.
Link copied to clipboard
Optional metadata for this response.