@modelcontextprotocol/sdk
    Preparing search index...

    Interface CompleteRequestParams

    Parameters for a completion/complete request.

    interface CompleteRequestParams {
        _meta?: { progressToken?: ProgressToken; [key: string]: unknown };
        argument: { name: string; value: string };
        context?: { arguments?: { [key: string]: string } };
        ref: PromptReference | ResourceTemplateReference;
    }

    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.

    argument: { name: string; value: string }

    The argument's information

    Type Declaration

    • name: string

      The name of the argument

    • value: string

      The value of the argument to use for completion matching.

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

    Additional, optional context for completions

    Type Declaration

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

      Previously-resolved variables in a URI template or prompt.