PaginatedRequestBuilder

Base DSL builder for constructing paginated MCP request instances.

This abstract class extends RequestBuilder and adds pagination support through an optional cursor field.

Example:

listPromptsRequest {
cursor = "eyJwYWdlIjogMn0="
}

See also

Inheritors

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Optional pagination cursor for fetching the next page of results.

Functions

Link copied to clipboard
fun meta(builderAction: RequestMetaBuilder.() -> Unit)

Sets request metadata using a DSL builder.