ListRootsResult

@Serializable
class ListRootsResult(val roots: List<Root>, val _meta: JsonObject = EmptyJsonObject) : ClientResult(source)

The client's response to a roots/list request from the server.

Constructors

Link copied to clipboard
constructor(roots: List<Root>, _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