ListResourceTemplatesRequest

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

Resource templates are parameterized resource URIs that can be instantiated with specific argument values. For example, a template like file:///{path} allows clients to construct URIs for any file path.

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.