@@ -256,27 +256,53 @@ export interface ProgressNotification extends Notification {
256256 */
257257export interface ListResourcesRequest extends Request {
258258 method : "resources/list" ;
259+ params ?: {
260+ /**
261+ * An opaque token representing the current pagination position.
262+ * If provided, the server should return results starting after this cursor.
263+ */
264+ cursor ?: Cursor ;
265+ } ;
259266}
260267
261268/**
262269 * The server's response to a resources/list request from the client.
263270 */
264271export interface ListResourcesResult extends Result {
265272 resources : Resource [ ] ;
273+
274+ /**
275+ * An opaque token representing the pagination position after the last returned result.
276+ * If present, there may be more results available.
277+ */
278+ nextCursor ?: Cursor ;
266279}
267280
268281/**
269282 * Sent from the client to request a list of resource templates the server has.
270283 */
271284export interface ListResourceTemplatesRequest extends Request {
272285 method : "resources/templates/list" ;
286+ params ?: {
287+ /**
288+ * An opaque token representing the current pagination position.
289+ * If provided, the server should return results starting after this cursor.
290+ */
291+ cursor ?: Cursor ;
292+ } ;
273293}
274294
275295/**
276296 * The server's response to a resources/templates/list request from the client.
277297 */
278298export interface ListResourceTemplatesResult extends Result {
279299 resourceTemplates : ResourceTemplate [ ] ;
300+
301+ /**
302+ * An opaque token representing the pagination position after the last returned result.
303+ * If present, there may be more results available.
304+ */
305+ nextCursor ?: Cursor ;
280306}
281307
282308/**
@@ -453,13 +479,26 @@ export interface BlobResourceContents extends ResourceContents {
453479 */
454480export interface ListPromptsRequest extends Request {
455481 method : "prompts/list" ;
482+ params ?: {
483+ /**
484+ * An opaque token representing the current pagination position.
485+ * If provided, the server should return results starting after this cursor.
486+ */
487+ cursor ?: Cursor ;
488+ } ;
456489}
457490
458491/**
459492 * The server's response to a prompts/list request from the client.
460493 */
461494export interface ListPromptsResult extends Result {
462495 prompts : Prompt [ ] ;
496+
497+ /**
498+ * An opaque token representing the pagination position after the last returned result.
499+ * If present, there may be more results available.
500+ */
501+ nextCursor ?: Cursor ;
463502}
464503
465504/**
@@ -539,13 +578,26 @@ export interface PromptListChangedNotification extends Notification {
539578 */
540579export interface ListToolsRequest extends Request {
541580 method : "tools/list" ;
581+ params ?: {
582+ /**
583+ * An opaque token representing the current pagination position.
584+ * If provided, the server should return results starting after this cursor.
585+ */
586+ cursor ?: Cursor ;
587+ } ;
542588}
543589
544590/**
545591 * The server's response to a tools/list request from the client.
546592 */
547593export interface ListToolsResult extends Result {
548594 tools : Tool [ ] ;
595+
596+ /**
597+ * An opaque token representing the pagination position after the last returned result.
598+ * If present, there may be more results available.
599+ */
600+ nextCursor ?: Cursor ;
549601}
550602
551603/**
0 commit comments