ListPromptsRequest

@Serializable
data class ListPromptsRequest(val cursor: Cursor? = null, val _meta: JsonObject = EmptyJsonObject) : ClientRequest, PaginatedRequest(source)

Sent from the client to request a list of prompts and prompt templates the server has.

Constructors

Link copied to clipboard
constructor(cursor: 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 cursor: Cursor? = null

The cursor indicating the pagination position.

Link copied to clipboard
open override val method: Method

Functions

Link copied to clipboard

Converts the request to a JSON-RPC request.