@modelcontextprotocol/sdk
    Preparing search index...

    Interface GetPromptRequest

    Used by the client to get a prompt provided by the server.

    interface GetPromptRequest {
        id: RequestId;
        jsonrpc: "2.0";
        method: "prompts/get";
        params: { arguments?: { [key: string]: string }; name: string };
    }

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    jsonrpc: "2.0"
    method: "prompts/get"
    params: { arguments?: { [key: string]: string }; name: string }

    Type Declaration

    • Optionalarguments?: { [key: string]: string }

      Arguments to use for templating the prompt.

    • name: string

      The name of the prompt or prompt template.