ListPromptsResult

@Serializable
class ListPromptsResult(val prompts: List<Prompt>, val nextCursor: Cursor? = null, val _meta: JsonObject = EmptyJsonObject) : ServerResult, PaginatedResult(source)

The server's response to a prompts/list request from the client.

Constructors

Link copied to clipboard
constructor(prompts: List<Prompt>, nextCursor: 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 nextCursor: Cursor? = null

An opaque token representing the pagination position after the last returned result. If present, there may be more results available.

Link copied to clipboard