ListResourcesResult

@Serializable
class ListResourcesResult(val resources: List<Resource>, val nextCursor: Cursor? = null, val _meta: JsonObject = EmptyJsonObject) : ServerResult, PaginatedResult(source)

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

Constructors

Link copied to clipboard
constructor(resources: List<Resource>, nextCursor: Cursor? = null, _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
open override val nextCursor: Cursor? = null

An opaque token representing the pagination position after the last returned result. If present, there may be more results available.

Link copied to clipboard