ListTasksRequest

A request to retrieve a list of tasks.

This request can be sent by either side (both ClientRequest and ServerRequest). Supports pagination through the cursor parameter.

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.