@modelcontextprotocol/sdk
    Preparing search index...

    Interface ListPromptsRequest

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

    interface ListPromptsRequest {
        id: RequestId;
        jsonrpc: "2.0";
        method: "prompts/list";
        params?: { cursor?: string };
    }

    Hierarchy (View Summary)

    Index

    Properties

    jsonrpc: "2.0"
    method: "prompts/list"
    params?: { cursor?: string }

    Type Declaration

    • Optionalcursor?: string

      An opaque token representing the current pagination position. If provided, the server should return results starting after this cursor.