ListResourcesRequest

Sent from the client to request a list of resources the server has.

Resources are data sources that the server can provide access to, such as files, database entries, API responses, or other structured data.

Constructors

Link copied to clipboard
constructor(params: PaginatedRequestParams? = null)

Properties

Link copied to clipboard
open val cursor: String?

An opaque token representing the current pagination position.

Link copied to clipboard
open val meta: RequestMeta?

Metadata for this request. May include a progressToken for out-of-band progress notifications.

Link copied to clipboard
open override val method: Method

The request method identifier.

Link copied to clipboard
open override val params: PaginatedRequestParams?

Optional pagination parameters to control which page of results to return.

Functions

Link copied to clipboard

Converts the request to a JSON-RPC request.