@modelcontextprotocol/sdk
    Preparing search index...

    Interface GetPromptRequestParams

    Parameters for a prompts/get request.

    interface GetPromptRequestParams {
        _meta?: { progressToken?: ProgressToken; [key: string]: unknown };
        arguments?: { [key: string]: string };
        name: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    _meta?: { progressToken?: ProgressToken; [key: string]: unknown }

    See General fields: _meta for notes on _meta usage.

    Type Declaration

    • [key: string]: unknown
    • OptionalprogressToken?: ProgressToken

      If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.

    arguments?: { [key: string]: string }

    Arguments to use for templating the prompt.

    name: string

    The name of the prompt or prompt template.