ReadResourceResult

@Serializable
class ReadResourceResult(val contents: List<ResourceContents>, val _meta: JsonObject = EmptyJsonObject) : ServerResult(source)

The server's response to a resources/read request from the client.

Constructors

Link copied to clipboard
constructor(contents: List<ResourceContents>, _meta: JsonObject = EmptyJsonObject)

Properties

Link copied to clipboard
open override val _meta: JsonObject

The protocol reserves this result property to allow clients and servers to attach additional metadata to their responses.

Link copied to clipboard